Fix redux connect types
This commit is contained in:
parent
dc6af45971
commit
343eef40fb
2 changed files with 10 additions and 7 deletions
|
|
@ -73,7 +73,7 @@ const Hyper = forwardRef<HTMLDivElement, HyperProps>((props, ref) => {
|
|||
window.rpc.on('term selectAll', handleSelectAll);
|
||||
}, []);
|
||||
|
||||
const onTermsRef = (_terms: Terms) => {
|
||||
const onTermsRef = (_terms: Terms | null) => {
|
||||
terms.current = _terms;
|
||||
window.focusActiveTerm = (uid?: string) => {
|
||||
if (uid) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue