@@ -241,8 +241,8 @@ export const ChapterList = ({
|
|||||||
computeItemKey={(index) => visibleChapters[index].id}
|
computeItemKey={(index) => visibleChapters[index].id}
|
||||||
itemContent={(index: number) => (
|
itemContent={(index: number) => (
|
||||||
<ChapterCard
|
<ChapterCard
|
||||||
chapter={chapters[index]}
|
chapter={visibleChapters[index]}
|
||||||
selected={!areNoItemsSelected ? selectedItemIds.includes(chapters[index].id) : null}
|
selected={!areNoItemsSelected ? selectedItemIds.includes(visibleChapters[index].id) : null}
|
||||||
showChapterNumber={options.showChapterNumber}
|
showChapterNumber={options.showChapterNumber}
|
||||||
onSelect={onSelect}
|
onSelect={onSelect}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user