Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
:@
Browse files Browse the repository at this point in the history
  • Loading branch information
naveed-ahmad committed May 4, 2017
1 parent 86f3ad9 commit 6e84396
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/routeFilters.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export default function isValidSurah(nextState, replaceState) {
const chapterId = parseInt(nextState.params.chapterId, 10);
if (__CLIENT__) window.s = nextState;
if (isNaN(chapterId) || chapterId > 114 || chapterId < 1) {
replaceState('/error/invalid-surah');
}
Expand Down

0 comments on commit 6e84396

Please sign in to comment.