Skip to content

Commit

Permalink
added key
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthak-kumar-shailendra authored Sep 8, 2023
1 parent 8bc4ae6 commit fcc9b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Chapter/VerseNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ function VerseNavigator({
.fill(verseCount)
.map((_verse, index) => (
<LinkWithLocale
key={index}
href={`/chapter/${currentChapter}/verse/${index + 1}`}
prefetch={false}
>
<div
key={index}
className={classNames(
`m-px flex min-w-[2.35rem] items-center justify-center rounded p-2 hover:cursor-pointer hover:bg-my-orange hover:text-white ${
index + 1 === currentVerse && "bg-my-orange text-white"
Expand Down

0 comments on commit fcc9b57

Please sign in to comment.