diff --git a/src/components/cstb/Prepare.tsx b/src/components/cstb/Prepare.tsx index 2bdbca6..268a164 100644 --- a/src/components/cstb/Prepare.tsx +++ b/src/components/cstb/Prepare.tsx @@ -30,10 +30,9 @@ export function Prepare() { const steam = useSteamStore() const router = useRouter() const [loading, setLoading] = useState(true) - const [checking, setChecking] = useState(false) + const [inited, setInited] = useState(false) const [, setSteamDir] = useState(steam.state.steamDir) const [, setCs2Dir] = useState(steam.state.cs2Dir) - const [inited, setInited] = useState(false) useEffect(() => { const initValues = async () => { @@ -158,7 +157,13 @@ export function Prepare() {
-