@@ -15,7 +15,7 @@ import AccountView from './modules/User/pages/AccountView';
15
15
import CollectionView from './modules/User/pages/CollectionView' ;
16
16
import DashboardView from './modules/User/pages/DashboardView' ;
17
17
import createRedirectWithUsername from './components/createRedirectWithUsername' ;
18
- import MobileDashboard from './modules/Mobile/MobileDashboard ' ;
18
+ import MobileDashboardView from './modules/Mobile/MobileDashboardView ' ;
19
19
import { getUser } from './modules/User/actions' ;
20
20
import { stopSketch } from './modules/IDE/actions/ide' ;
21
21
import { userIsAuthenticated , userIsNotAuthenticated , userIsAuthorized } from './utils/auth' ;
@@ -63,11 +63,11 @@ const routes = store => (
63
63
< Route path = "/mobile/preferences" component = { MobilePreferences } />
64
64
< Route path = "/mobile" component = { MobileIDEView } />
65
65
66
- < Route path = "/mobile/:username/sketches" component = { MobileDashboard } />
66
+ < Route path = "/mobile/:username/sketches" component = { MobileDashboardView } />
67
67
< Route path = "/mobile/:username/sketches/:project_id" component = { MobileIDEView } />
68
- < Route path = "/mobile/:username/assets" component = { userIsAuthenticated ( userIsAuthorized ( MobileDashboard ) ) } />
69
- < Route path = "/mobile/:username/collections" component = { MobileDashboard } />
70
- < Route path = "/mobile/:username/collections/create" component = { MobileDashboard } />
68
+ < Route path = "/mobile/:username/assets" component = { userIsAuthenticated ( userIsAuthorized ( MobileDashboardView ) ) } />
69
+ < Route path = "/mobile/:username/collections" component = { MobileDashboardView } />
70
+ < Route path = "/mobile/:username/collections/create" component = { MobileDashboardView } />
71
71
< Route path = "/mobile/:username/collections/:collection_id" component = { CollectionView } />
72
72
73
73
</ Route >
0 commit comments