We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a95ba60 commit ff6deceCopy full SHA for ff6dece
src/sdk/utils.ts
@@ -1,5 +1,5 @@
1
// this maps chapterNumber to verseCount
2
-export const versesMaping = {
+export const versesMapping = {
3
'1': 7,
4
'2': 286,
5
'3': 200,
@@ -211,7 +211,7 @@ const isValidVerseKey = (key: string) => {
211
if (!chapterId || !verseId || !isValidChapterId(chapterId)) return false;
212
213
const parsedVerse = Number(verseId);
214
- const verseCount = (versesMaping as any)[chapterId];
+ const verseCount = (versesMapping as any)[chapterId];
215
if (!parsedVerse || parsedVerse <= 0 || parsedVerse > verseCount)
216
return false;
217
0 commit comments