Skip to content

Commit ff6dece

Browse files
committed
fix: fix typo
1 parent a95ba60 commit ff6dece

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sdk/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// this maps chapterNumber to verseCount
2-
export const versesMaping = {
2+
export const versesMapping = {
33
'1': 7,
44
'2': 286,
55
'3': 200,
@@ -211,7 +211,7 @@ const isValidVerseKey = (key: string) => {
211211
if (!chapterId || !verseId || !isValidChapterId(chapterId)) return false;
212212

213213
const parsedVerse = Number(verseId);
214-
const verseCount = (versesMaping as any)[chapterId];
214+
const verseCount = (versesMapping as any)[chapterId];
215215
if (!parsedVerse || parsedVerse <= 0 || parsedVerse > verseCount)
216216
return false;
217217

0 commit comments

Comments
 (0)