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

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thabti committed Aug 1, 2016
1 parent 01df278 commit 9f85735
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/containers/Surah/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
load as loadAyahs
} from '../../redux/actions/ayahs.js';

import {isLoaded, debug} from 'helpers';
import {debug, isLoaded} from 'helpers';

const ayahRangeSize = 30;

Expand Down
8 changes: 0 additions & 8 deletions src/redux/actions/ayahs.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,3 @@ export function setCurrentWord(id) {
id
};
}

export function isLoaded(globalState, surahId, from, to) {
return (
globalState.ayahs.entities[surahId] &&
globalState.ayahs.entities[surahId][`${surahId}:${from}`] &&
globalState.ayahs.entities[surahId][`${surahId}:${to}`]
);
}

0 comments on commit 9f85735

Please sign in to comment.