refactor: move task components to components/task/

This commit is contained in:
xuyue committed 2026-04-01 03:55:01 -06:00
1 parent e4359e8093
commit 6fb3bc0198
8 files changed
+38 -37

No files matched your search

+2 -1
View File
@@ -1,4 +1,5 @@
import { ref } from "vue"
import { useStorage } from "@vueuse/core"
import { TASK_TYPE } from "../utils/const"
const currentTask = window.location.pathname.startsWith("/challenge")
@@ -7,4 +8,4 @@ const currentTask = window.location.pathname.startsWith("/challenge")
export const taskTab = ref(currentTask)
export const taskId = ref(0)
export const challengeDisplay = ref(0)
export const challengeDisplay = useStorage("challenge-display", 0)