From 9cea2ca7a64eb4428b8e4628c3f4e29221f83bed Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Mon, 5 Aug 2019 22:52:29 +0300 Subject: [PATCH] App code reformat --- src/App/App.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App/App.js b/src/App/App.js index 74c0bafd9..86ef2b1c2 100644 --- a/src/App/App.js +++ b/src/App/App.js @@ -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]);