import React from 'react';
import { Route } from 'react-router';
import Login from './features/login';
import CategoryTileListContainer from './features/categories/components/CategoryTileListContainer';
import ChallengeScreenContainer from './features/challenges/components/ChallengeScreenContainer';
import TodoScreen from './features/todo/TodoScreen';
import Awards from './features/awards';
import Updates from './features/updates';
import Profile from './features/profile';

export default () => (
    <Route path="/" >
        <Route path="login" component={Login} />
        <Route path="challenges" component={ChallengeScreenContainer} />
        <Route path="awards" component={Awards} />
        <Route path="updates" component={Updates} />
        <Route path="profile" component={Profile} />
        <Route path="todo" component={TodoScreen} />
        <Route path="categories" component={CategoryTileListContainer} />
    </Route>
);

@@ -54,24 +54,67 @@
 ct-router';%0A
+import %7B IndexRoute %7D from 'react-router';%0A
 import Login
@@ -560,16 +560,57 @@
 h=%22/%22 %3E%0A
+        %3CIndexRoute component=%7BLogin%7D /%3E%0A
         

Mark login as Index route