Skip to content

Commit 40bc2ea

Browse files
committed
fix: cast alleged number...
depending on config loading / src, this can be a string type, which "works" but causes noisy vue errors with every tick of the SessionTimer
1 parent dadb04d commit 40bc2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/standalone-ui/src/views/StudyView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const user = getDataLayer().getUserDB();
3535
const dataLayer = getDataLayer();
3636
const configStore = useConfigStore();
3737
const sessionPrepared = ref(false);
38-
const sessionTimeLimit = ref(configStore.config.sessionTimeLimit);
38+
const sessionTimeLimit = ref(Number(configStore.config.sessionTimeLimit));
3939
const sessionContentSources = ref<ContentSourceID[]>([]);
4040
const studySessionConfig = ref<StudySessionConfig>({
4141
likesConfetti: configStore.config.likesConfetti,

0 commit comments

Comments
 (0)