Skip to content

Commit e287e55

Browse files
committed
🚧 rename MobileDashboard to MobileDashboardView
1 parent 42b0025 commit e287e55

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

client/routes.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import AccountView from './modules/User/pages/AccountView';
1515
import CollectionView from './modules/User/pages/CollectionView';
1616
import DashboardView from './modules/User/pages/DashboardView';
1717
import createRedirectWithUsername from './components/createRedirectWithUsername';
18-
import MobileDashboard from './modules/Mobile/MobileDashboard';
18+
import MobileDashboardView from './modules/Mobile/MobileDashboardView';
1919
import { getUser } from './modules/User/actions';
2020
import { stopSketch } from './modules/IDE/actions/ide';
2121
import { userIsAuthenticated, userIsNotAuthenticated, userIsAuthorized } from './utils/auth';
@@ -63,11 +63,11 @@ const routes = store => (
6363
<Route path="/mobile/preferences" component={MobilePreferences} />
6464
<Route path="/mobile" component={MobileIDEView} />
6565

66-
<Route path="/mobile/:username/sketches" component={MobileDashboard} />
66+
<Route path="/mobile/:username/sketches" component={MobileDashboardView} />
6767
<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} />
7171
<Route path="/mobile/:username/collections/:collection_id" component={CollectionView} />
7272

7373
</Route>

0 commit comments

Comments
 (0)