diff --git a/src/components/md-deck/CardList.tsx b/src/components/md-deck/CardList.tsx index ac7c45e..ca79821 100644 --- a/src/components/md-deck/CardList.tsx +++ b/src/components/md-deck/CardList.tsx @@ -38,12 +38,12 @@ export function CardList(props: CardListProps) { {(card, index) => { const globalIndex = () => page() * PAGE_SIZE + index(); - const active = store.state.activeTab === globalIndex(); + const active = () => store.state.activeTab === globalIndex(); return (