fix: build problem
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
import useSteamStore from "@/store/steam"
|
import useSteamStore from "@/store/steam"
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
const { dir, updateDir, csDir, updateCsDir, currentUser } = useSteamStore()
|
const { dir, setDir, csDir, setCsDir, currentUser } = useSteamStore()
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="flex flex-col items-center justify-center w-full h-screen gap-6"
|
className="flex flex-col items-center justify-center w-full h-screen gap-6"
|
||||||
@@ -15,12 +15,12 @@ export default function Page() {
|
|||||||
<input
|
<input
|
||||||
className="px-2 py-1 rounded-lg"
|
className="px-2 py-1 rounded-lg"
|
||||||
value={dir}
|
value={dir}
|
||||||
onChange={(e) => updateDir(e.target.value)}
|
onChange={(e) => setDir(e.target.value)}
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
className="px-2 py-1 rounded-lg"
|
className="px-2 py-1 rounded-lg"
|
||||||
value={csDir}
|
value={csDir}
|
||||||
onChange={(e) => updateCsDir(e.target.value)}
|
onChange={(e) => setCsDir(e.target.value)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<p>{currentUser().steamID64}</p>
|
<p>{currentUser().steamID64}</p>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { RocketOne, Minus, Close, Square } from "@icon-park/react"
|
import { RocketOne, Minus, Close, Square } from "@icon-park/react"
|
||||||
import { /* relaunch, */ exit } from "@tauri-apps/plugin-process"
|
import { /* relaunch, */ exit } from "@tauri-apps/plugin-process"
|
||||||
import { getCurrentWindow } from "@tauri-apps/api/window"
|
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"
|
import { useRouter } from "next/navigation"
|
||||||
|
|
||||||
const Nav = () => {
|
const Nav = () => {
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ export interface XBase {
|
|||||||
info: string
|
info: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Key extends XBase {}
|
export type Key = XBase
|
||||||
export interface Alias extends XBase {}
|
export type Alias = XBase
|
||||||
export interface Value extends XBase {
|
export interface Value extends XBase {
|
||||||
option: { name: string; value: string }[]
|
option: { name: string; value: string }[]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user