Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Jan 12, 2025
1 parent c9f0427 commit 05b5624
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/organisms/passageNavigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ export default function PassageNavigation({
<>
<BookGrid
books={books.filter((book) =>
BIBLE_BOOKS.slice(0, 39).includes(book.title),
BIBLE_BOOKS.slice(0, 39).find(
(b) => b.toLowerCase() === book.title.toLowerCase(),
),
)}
selectedBook={book}
selectBook={setBook}
Expand All @@ -165,7 +167,9 @@ export default function PassageNavigation({
<BookGrid
className={styles.nt}
books={books.filter((book) =>
BIBLE_BOOKS.slice(39).includes(book.title),
BIBLE_BOOKS.slice(39).find(
(b) => b.toLowerCase() === book.title.toLowerCase(),
),
)}
selectedBook={book}
selectBook={setBook}
Expand Down

0 comments on commit 05b5624

Please sign in to comment.