File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1+ import React from 'react'
12import './Maintenance.scss'
23
34const Maintenance = ( ) => {
Original file line number Diff line number Diff line change 22 * Settings routes
33 */
44import React from 'react'
5- import { Route , Switch } from 'react-router-dom'
5+ import { Route } from 'react-router-dom'
66import { renderApp } from '../../components/App/App'
77import TopBarContainer from '../../components/TopBar/TopBarContainer'
88import NotificationsToolBar from '../notifications/components/NotificationsToolBar'
@@ -12,9 +12,7 @@ import NotificationSettingsContainer from './routes/notifications/containers/Not
1212// import ProfileSettingsContainer from './routes/profile/containers/ProfileSettingsContainer'
1313
1414export default (
15- < Switch >
16- { /*<Route path="/settings/profile" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <ProfileSettingsContainer />)} />*/ }
17- { /*<Route path="/settings/system" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <SystemSettingsContainer />)} />*/ }
18- < Route path = "/settings/notifications" render = { renderApp ( < TopBarContainer toolbar = { NotificationsToolBar } /> , < NotificationSettingsContainer /> ) } />
19- </ Switch >
15+ { /*<Route path="/settings/profile" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <ProfileSettingsContainer />)} />*/ } ,
16+ { /*<Route path="/settings/system" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <SystemSettingsContainer />)} />*/ } ,
17+ < Route path = "/settings/notifications" render = { renderApp ( < TopBarContainer toolbar = { NotificationsToolBar } /> , < NotificationSettingsContainer /> ) } />
2018)
You can’t perform that action at this time.
0 commit comments