diff --git a/src/routes.js b/src/routes.js index 05b7d3a2e..3a4620d44 100644 --- a/src/routes.js +++ b/src/routes.js @@ -20,6 +20,12 @@ export default () => ( System.import('./containers/Search').then(module => cb(null, module))} /> + System.import('./containers/Surah').then(module => cb(null, module)).catch(err => console.trace(err))} + onEnter={checkValidSurah} + /> + System.import('./containers/Surah').then(module => cb(null, module)).catch(err => console.trace(err))}