From 84da0d600ce4b048615b7e6a502c4feea9902eed Mon Sep 17 00:00:00 2001 From: ditoaugusta Date: Sat, 28 Mar 2020 02:38:14 +0700 Subject: fix: jsx lines --- modern/src/MainPage.js | 38 ++++----- modern/src/MainToolbar.js | 200 +++++++++++++++++++++++----------------------- 2 files changed, 121 insertions(+), 117 deletions(-) (limited to 'modern/src') diff --git a/modern/src/MainPage.js b/modern/src/MainPage.js index f6dd7fe..4362569 100644 --- a/modern/src/MainPage.js +++ b/modern/src/MainPage.js @@ -53,26 +53,28 @@ const MainPage = () => { }); }, [history]); - return (loading ? (
Loading...
) : (
- - -
- { /* */} - - - -
- - - + return loading ? (
Loading...
) : ( +
+ + +
+ {/* */} + + + +
+ + + +
-
)); + ); } export default MainPage; diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js index 9c2e811..bf4aa40 100644 --- a/modern/src/MainToolbar.js +++ b/modern/src/MainToolbar.js @@ -51,106 +51,108 @@ const MainToolbar = () => { }) } - return (<> - - - - - - - Traccar + return ( + <> + + + + + + + Traccar - - - - -
- - history.push('/')}> - - - - - - - - - {t('reportTitle')} - }> - { history.push('/reports/route') }}> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {t('settingsTitle')} - - }> - - - - - - - - - - - - - - - - - - - -
-
- ); + +
+
+ +
+ + history.push('/')}> + + + + + + + + + {t('reportTitle')} + }> + { history.push('/reports/route') }}> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {t('settingsTitle')} + + }> + + + + + + + + + + + + + + + + + + + +
+
+ + ); } export default MainToolbar; -- cgit v1.2.3