fix: build problem

This commit is contained in:
Purp1e
2024-09-27 16:13:05 +08:00
parent d62f4f9389
commit 42b3210584
3 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
import useSteamStore from "@/store/steam"
export default function Page() {
const { dir, updateDir, csDir, updateCsDir, currentUser } = useSteamStore()
const { dir, setDir, csDir, setCsDir, currentUser } = useSteamStore()
return (
<div
className="flex flex-col items-center justify-center w-full h-screen gap-6"
@@ -15,12 +15,12 @@ export default function Page() {
<input
className="px-2 py-1 rounded-lg"
value={dir}
onChange={(e) => updateDir(e.target.value)}
onChange={(e) => setDir(e.target.value)}
/>
<input
className="px-2 py-1 rounded-lg"
value={csDir}
onChange={(e) => updateCsDir(e.target.value)}
onChange={(e) => setCsDir(e.target.value)}
/>
<p>{currentUser().steamID64}</p>