Browse Source

added private routes for differents component

Skylsmoi 7 years ago
parent
commit
e092b6bde3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/container/Tracim.jsx

+ 3 - 1
src/container/Tracim.jsx View File

45
 
45
 
46
               <SidebarWrapper locationPath={location.pathname}>
46
               <SidebarWrapper locationPath={location.pathname}>
47
 
47
 
48
-                <PrivateRoute exact path='/' component={AccountPage} />
48
+                <PrivateRoute exact path='/' component={WorkspaceContent} />
49
+                <PrivateRoute exact path='/account' component={AccountPage} />
50
+                <PrivateRoute exact path='/dashboard' component={Dashboard} />
49
 
51
 
50
               </SidebarWrapper>
52
               </SidebarWrapper>
51
 
53