[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 { useEffect } from "react"
import { useSnapshot } from "valtio"
export default function Page() {
useEffect(() => {
;async () => {
appStore.start()
}
}, [])
appStore.start()
const app = useSnapshot(appStore.state)
return (

View File

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