You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
fix useCallback dependencies, delint
This commit is contained in:
@@ -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}) }
|
||||
|
||||
Reference in New Issue
Block a user