[fix] building error due to eslint
This commit is contained in:
@@ -58,7 +58,7 @@ export const useToolStore = () => {
|
|||||||
sendPowerPlanToTray(state.powerPlan)
|
sendPowerPlanToTray(state.powerPlan)
|
||||||
}, 500)
|
}, 500)
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
state,
|
state,
|
||||||
store: toolStore,
|
store: toolStore,
|
||||||
@@ -90,14 +90,14 @@ const setLaunchIndex = (index: number) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const sendCurrentLaunchOptionToTray = (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) => {
|
const setPowerPlan = (plan: number) => {
|
||||||
toolStore.state.powerPlan = plan
|
toolStore.state.powerPlan = plan
|
||||||
sendPowerPlanToTray(plan)
|
sendPowerPlanToTray(plan)
|
||||||
}
|
}
|
||||||
const sendPowerPlanToTray = (plan: number) => {
|
const sendPowerPlanToTray = (plan: number) => {
|
||||||
emit("tray://get_powerplan", plan)
|
void emit("tray://get_powerplan", plan)
|
||||||
}
|
}
|
||||||
|
|
||||||
const setVideoSetting = (setting: VideoSetting) => {
|
const setVideoSetting = (setting: VideoSetting) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user