Skip to content

Commit 694a0f0

Browse files
committed
:chore: Improve type (#2199)
1 parent 7fb2a92 commit 694a0f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/workbooks/[slug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
return getContestIdFrom(taskId) + '-' + taskId;
7676
};
7777
78-
let updatingModal: UpdatingModal | null = $state(null);
78+
let updatingModal = $state<UpdatingModal | null>(null);
7979
8080
// HACK: clickを1回実行するとactionsが2回実行されてしまう。原因と修正方法が分かっていない。
8181
function handleClick(taskId: string) {

0 commit comments

Comments
 (0)