Fix routing bug displaying Sketch list tab

This commit is contained in:
Andrew Nicolaou 2019-09-08 19:25:45 +02:00
parent 2df3670dc4
commit b258d7c5ca

View file

@ -42,7 +42,7 @@ const routes = store => (
<Route path="/assets" component={createRedirectWithUsername('/:username/assets')} /> <Route path="/assets" component={createRedirectWithUsername('/:username/assets')} />
<Route path="/account" component={AccountView} /> <Route path="/account" component={AccountView} />
<Route path="/:username/sketches/:project_id" component={IDEView} /> <Route path="/:username/sketches/:project_id" component={IDEView} />
<Route path="/:username/sketches" component={IDEView} /> <Route path="/:username/sketches" component={DashboardView} />
<Route path="/:username/collections" component={DashboardView} /> <Route path="/:username/collections" component={DashboardView} />
<Route path="/:username/collections/create" component={CollectionView} /> <Route path="/:username/collections/create" component={CollectionView} />
<Route path="/:username/collections/:collection_id" component={CollectionView} /> <Route path="/:username/collections/:collection_id" component={CollectionView} />