mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-28 08:49:01 +00:00
App code reformat
This commit is contained in:
parent
4986f3f432
commit
9cea2ca7a6
1 changed files with 3 additions and 3 deletions
|
|
@ -5,12 +5,12 @@ const routerViewsConfig = require('./routerViewsConfig');
|
|||
const styles = require('./styles');
|
||||
|
||||
const App = () => {
|
||||
const services = React.useMemo(() => ({
|
||||
keyboardNavigation: new KeyboardNavigation()
|
||||
}), []);
|
||||
const onPathNotMatch = React.useCallback(() => {
|
||||
window.history.back();
|
||||
}, []);
|
||||
const services = React.useMemo(() => ({
|
||||
keyboardNavigation: new KeyboardNavigation()
|
||||
}), []);
|
||||
React.useEffect(() => {
|
||||
services.keyboardNavigation.start();
|
||||
}, [services]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue