|
@@ -21,11 +21,13 @@ class Tracim extends React.Component {
|
21
|
21
|
|
22
|
22
|
<Route path='/login' component={Login} />
|
23
|
23
|
|
24
|
|
- { location.pathname !== '/login' && // cant find "except" in <Route path />
|
25
|
|
- <Sidebar />
|
26
|
|
- }
|
27
|
|
- <Route exact path='/' component={Workspace} />
|
28
|
|
- <PrivateRoute path='/page' component={Page} />
|
|
24
|
+ <div className='sidebarpagecontainer'>
|
|
25
|
+ { location.pathname !== '/login' && // cant find "except" in <Route path />
|
|
26
|
+ <Sidebar />
|
|
27
|
+ }
|
|
28
|
+ <Route exact path='/' component={Workspace} />
|
|
29
|
+ <PrivateRoute path='/page' component={Page} />
|
|
30
|
+ </div>
|
29
|
31
|
|
30
|
32
|
<Footer />
|
31
|
33
|
</div>
|