Skip to content

Commit

Permalink
Fix/wrong transferState (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishiko732 authored Jun 23, 2024
1 parent 9cdcd01 commit 940a0a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/context/CardContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { StateBox } from "@/vendor/fsrsToPrisma/handler";
import { useCardBoxes } from "@/hooks/useCardBoxes";
import { useRollback } from "@/hooks/useRollback";
import { DSR, useSchedule } from "@/hooks/useSchdule";
import { useFinished } from "@/hooks/useFinished";

export type changeResponse = {
code: number;
Expand Down Expand Up @@ -80,6 +81,8 @@ export function CardProvider({
setOpen,
});

useFinished(cardHooks);

const value = {
open,
setOpen,
Expand Down

1 comment on commit 940a0a5

@vercel
Copy link

@vercel vercel bot commented on 940a0a5 Jun 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.