diff options
Diffstat (limited to 'src/client/atoms/study.ts')
| -rw-r--r-- | src/client/atoms/study.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/atoms/study.ts b/src/client/atoms/study.ts index fca17b7..73966fd 100644 --- a/src/client/atoms/study.ts +++ b/src/client/atoms/study.ts @@ -2,6 +2,7 @@ import { atomFamily } from "jotai-family"; import { atomWithSuspenseQuery } from "jotai-tanstack-query"; import { getStartOfStudyDayBoundary } from "../../shared/date"; import { apiClient } from "../api/client"; +import type { CardStateType } from "../db"; import { createSeededRandom, shuffle } from "../utils/random"; export interface StudyCard { @@ -11,7 +12,7 @@ export interface StudyCard { isReversed: boolean; front: string; back: string; - state: number; + state: CardStateType; due: string; stability: number; difficulty: number; |
