From e29b48b98ce6c952eace1f4c85f68f1d3e503488 Mon Sep 17 00:00:00 2001 From: Purp1e <47248616+Purple-CSGO@users.noreply.github.com> Date: Thu, 27 Mar 2025 00:59:03 +0800 Subject: [PATCH] [fix] building error due to eslint --- src/store/tool.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/tool.ts b/src/store/tool.ts index 1c385ce..42018e0 100644 --- a/src/store/tool.ts +++ b/src/store/tool.ts @@ -58,7 +58,7 @@ export const useToolStore = () => { sendPowerPlanToTray(state.powerPlan) }, 500) } - + return { state, store: toolStore, @@ -90,14 +90,14 @@ const setLaunchIndex = (index: number) => { } const sendCurrentLaunchOptionToTray = (index: number) => { - emit("tray://get_current_launch_option", toolStore.state.launchOptions[index].name || index + 1) + void emit("tray://get_current_launch_option", toolStore.state.launchOptions[index].name || index + 1) } const setPowerPlan = (plan: number) => { toolStore.state.powerPlan = plan sendPowerPlanToTray(plan) } const sendPowerPlanToTray = (plan: number) => { - emit("tray://get_powerplan", plan) + void emit("tray://get_powerplan", plan) } const setVideoSetting = (setting: VideoSetting) => {