We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cdcd01 commit 940a0a5Copy full SHA for 940a0a5
src/context/CardContext.tsx
@@ -11,6 +11,7 @@ import { StateBox } from "@/vendor/fsrsToPrisma/handler";
11
import { useCardBoxes } from "@/hooks/useCardBoxes";
12
import { useRollback } from "@/hooks/useRollback";
13
import { DSR, useSchedule } from "@/hooks/useSchdule";
14
+import { useFinished } from "@/hooks/useFinished";
15
16
export type changeResponse = {
17
code: number;
@@ -80,6 +81,8 @@ export function CardProvider({
80
81
setOpen,
82
});
83
84
+ useFinished(cardHooks);
85
+
86
const value = {
87
open,
88
0 commit comments