Files
cstb-next/src/app/(main)/preference/path/page.tsx

19 lines
631 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use client"
import { useSteamStore } from "@/store/steam"
export default function Page() {
const steam = useSteamStore()
return (
<section className="flex flex-col gap-4 overflow-hidden">
<div className="flex flex-col items-start gap-3 pt-2 pb-1">
<p>Steam路径{steam.state.steamDir}</p>
<p>{steam.state.cs2Dir}</p>
<p>Steam路径有效{steam.state.steamDirValid ? "是" : "否"}</p>
<p>{steam.state.cs2DirValid ? "是" : "否"}</p>
<p>Steam账号{steam.currentUser()?.account_name || " "}</p>
</div>
</section>
)
}