Skip to content

Commit

Permalink
Formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmoore1 committed Jan 17, 2025
1 parent af2b1de commit b03732a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/components/BookSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ The navbar component.
return first;
}
function getVerseCount(chapter, chapters) {
if (!chapter || chapter === 'i' || !chapters || Object.keys(chapters).length === 0 || !chapters[chapter]) {
if (
!chapter ||
chapter === 'i' ||
!chapters ||
Object.keys(chapters).length === 0 ||
!chapters[chapter]
) {
return 0;
}
let count = Object.keys(chapters[chapter]).length;
Expand Down

0 comments on commit b03732a

Please sign in to comment.