[fix] linting errors
All checks were successful
Dependabot Auto-merge / dependabot (pull_request) Has been skipped
All checks were successful
Dependabot Auto-merge / dependabot (pull_request) Has been skipped
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { TakeOff } from "@icon-park/react"
|
||||
import { invoke } from "@tauri-apps/api/core"
|
||||
import { Card, CardBody, CardHeader, CardIcon } from "../window/Card"
|
||||
import { steamStore } from "@/store/steam"
|
||||
import { toolStore } from "@/store/tool"
|
||||
import { TakeOff } from "@icon-park/react"
|
||||
import { invoke } from "@tauri-apps/api/core"
|
||||
import { useSnapshot } from "valtio"
|
||||
import { Card, CardBody, CardHeader, CardIcon } from "../window/Card"
|
||||
// import { addToast } from "@heroui/react"
|
||||
|
||||
const FastLaunch = () => {
|
||||
@@ -25,7 +25,7 @@ const FastLaunch = () => {
|
||||
type="button"
|
||||
onClick={() =>
|
||||
invoke("launch_game", {
|
||||
steamPath: dir + "/steam.exe",
|
||||
steamPath: `${dir}/steam.exe`,
|
||||
launchOption: launchOptions[launchIndex] || "",
|
||||
server: "perfectworld",
|
||||
})
|
||||
@@ -38,7 +38,7 @@ const FastLaunch = () => {
|
||||
type="button"
|
||||
onClick={() =>
|
||||
invoke("launch_game", {
|
||||
steamPath: dir + "/steam.exe",
|
||||
steamPath: `${dir}/steam.exe`,
|
||||
launchOption: launchOptions[launchIndex] || "",
|
||||
server: "worldwide",
|
||||
})
|
||||
|
||||
@@ -63,6 +63,7 @@ const Avatar = () => {
|
||||
"w-12 h-12 bg-gray-700 rounded-full shadow-2xl cursor-pointer transition active:scale-95 shadow-purple-800",
|
||||
path.startsWith("/users") && "shadow-sm",
|
||||
)}
|
||||
type="button"
|
||||
>
|
||||
<img src="favicon.ico" alt="avatar" draggable={false} />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user