From 05b5624d4dc6aab4eaf7339bf37e22ccb4378cc4 Mon Sep 17 00:00:00 2001 From: Nathan Arthur Date: Sun, 12 Jan 2025 15:16:06 -0500 Subject: [PATCH] Update index.tsx --- src/components/organisms/passageNavigation/index.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/organisms/passageNavigation/index.tsx b/src/components/organisms/passageNavigation/index.tsx index 1c37dc76b..01627c914 100644 --- a/src/components/organisms/passageNavigation/index.tsx +++ b/src/components/organisms/passageNavigation/index.tsx @@ -156,7 +156,9 @@ export default function PassageNavigation({ <> - BIBLE_BOOKS.slice(0, 39).includes(book.title), + BIBLE_BOOKS.slice(0, 39).find( + (b) => b.toLowerCase() === book.title.toLowerCase(), + ), )} selectedBook={book} selectBook={setBook} @@ -165,7 +167,9 @@ export default function PassageNavigation({ - BIBLE_BOOKS.slice(39).includes(book.title), + BIBLE_BOOKS.slice(39).find( + (b) => b.toLowerCase() === book.title.toLowerCase(), + ), )} selectedBook={book} selectBook={setBook}