fix: build problem
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { RocketOne, Minus, Close, Square } from "@icon-park/react"
|
||||
import { /* relaunch, */ exit } from "@tauri-apps/plugin-process"
|
||||
import { getCurrentWindow } from "@tauri-apps/api/window"
|
||||
import { platform } from "@tauri-apps/plugin-os"
|
||||
// import { platform } from "@tauri-apps/plugin-os"
|
||||
import { useRouter } from "next/navigation"
|
||||
|
||||
const Nav = () => {
|
||||
|
||||
@@ -7,8 +7,8 @@ export interface XBase {
|
||||
info: string
|
||||
}
|
||||
|
||||
export interface Key extends XBase {}
|
||||
export interface Alias extends XBase {}
|
||||
export type Key = XBase
|
||||
export type Alias = XBase
|
||||
export interface Value extends XBase {
|
||||
option: { name: string; value: string }[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user