Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dup route
  • Loading branch information
mmahalwy committed Nov 10, 2016
commit 0ba78d7cbbd7de290042c303467a531fc512df6e
3 changes: 0 additions & 3 deletions src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ export default (store) => {

<Route path="/login" getComponent={(nextState, cb) => System.import('./containers/Login').then(module => cb(null, module))} />


<Route path="/login" getComponent={(nextState, cb) => System.import('./containers/Login').then(module => cb(null, module))} />
<Route onEnter={requireLogin}>
<Route path="/profile" getComponent={(nextState, cb) => System.import('./containers/Profile').then(module => cb(null, module))} />
</Route>
Expand All @@ -69,7 +67,6 @@ export default (store) => {
getComponent={(nextState, cb) => System.import('./containers/Surah').then(module => cb(null, module)).catch(err => console.trace(err))}
onEnter={checkValidSurah}
/>

</Route>
);
};