[fix] stores other than app cannot be saved + build linting

This commit is contained in:
Purp1e
2025-03-12 22:17:12 +08:00
parent 91a003d016
commit a78b63259a
7 changed files with 8 additions and 34 deletions

View File

@@ -4,11 +4,7 @@ import { steamStore, setDir, setCsDir, currentUser } from "@/store/steam"
import { useEffect } from "react"
import { useSnapshot } from "valtio"
export default function Page() {
useEffect(() => {
;async () => {
steamStore.start()
}
}, [])
steamStore.start()
const steam = useSnapshot(steamStore.state)
return (
<div