diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2020-11-01 18:46:06 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2020-11-01 18:46:06 +0530 |
commit | 8c167d82b75b764d3b12845aae7827550607a148 (patch) | |
tree | 982912b66e297bb8c09c3e9413e7d7f1bda7e882 /modern/src/App.js | |
parent | 71892bfca5c4c7fe6d691aaf84baaae54c335939 (diff) | |
download | trackermap-web-8c167d82b75b764d3b12845aae7827550607a148.tar.gz trackermap-web-8c167d82b75b764d3b12845aae7827550607a148.tar.bz2 trackermap-web-8c167d82b75b764d3b12845aae7827550607a148.zip |
Revert all the code formatting applied by vscode
Diffstat (limited to 'modern/src/App.js')
-rw-r--r-- | modern/src/App.js | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/modern/src/App.js b/modern/src/App.js index edfaa55b..6ea74297 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch, Route } from 'react-router-dom'; +import { Switch, Route } from 'react-router-dom' import CssBaseline from '@material-ui/core/CssBaseline'; import MainPage from './MainPage'; import LoginPage from './LoginPage'; @@ -22,30 +22,22 @@ const App = () => { <CssBaseline /> <SocketController /> <Switch> - <Route exact path="/" component={MainPage} /> - <Route exact path="/login" component={LoginPage} /> - <Route exact path="/position/:id?" component={PositionPage} /> - <Route exact path="/user/:id?" component={UserPage} /> - <Route exact path="/device/:id?" component={DevicePage} /> - <Route exact path="/reports/route" component={RouteReportPage} /> - <Route exact path="/reports/event" component={EventReportPage} /> - <Route - exact - path="/settings/notifications" - component={NotificationsPage} - /> - <Route - exact - path="/settings/notification/:id?" - component={NotificationPage} - /> - <Route exact path="/settings/groups" component={GroupsPage} /> - <Route exact path="/settings/group/:id?" component={GroupPage} /> - <Route exact path="/admin/server" component={ServerPage} /> - <Route exact path="/admin/users" component={UsersPage} /> + <Route exact path='/' component={MainPage} /> + <Route exact path='/login' component={LoginPage} /> + <Route exact path='/position/:id?' component={PositionPage} /> + <Route exact path='/user/:id?' component={UserPage} /> + <Route exact path='/device/:id?' component={DevicePage} /> + <Route exact path='/reports/route' component={RouteReportPage} /> + <Route exact path='/settings/notifications' component={NotificationsPage} /> + <Route exact path='/settings/notification/:id?' component={NotificationPage} /> + <Route exact path='/settings/groups' component={GroupsPage} /> + <Route exact path='/settings/group/:id?' component={GroupPage} /> + <Route exact path='/admin/server' component={ServerPage} /> + <Route exact path='/admin/users' component={UsersPage} /> + <Route exact path='/reports/event' component={EventReportPage} /> </Switch> </> ); -}; +} export default App; |