mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-23 23:41:33 +02:00
fix useCallback dependencies, delint
This commit is contained in:
parent
2c6fe78012
commit
37fb500e22
@ -165,7 +165,7 @@ export const RovingTabIndexProvider = ({children, handleHomeEnd, onKeyDown}) =>
|
||||
} else if (onKeyDown) {
|
||||
return onKeyDown(ev);
|
||||
}
|
||||
}, [context.state]);
|
||||
}, [context.state, onKeyDown, handleHomeEnd]);
|
||||
|
||||
return <RovingTabIndexContext.Provider value={context}>
|
||||
{ children({onKeyDownHandler}) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user