From 82d02def140743703138eebd22177d4e65eff824 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Tue, 9 Jan 2024 02:40:04 +0900 Subject: [PATCH 1/2] Update src/store/setting.ts Co-authored-by: Nanashi. --- src/store/setting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/setting.ts b/src/store/setting.ts index 9b4a0e18d3..ce580702ad 100644 --- a/src/store/setting.ts +++ b/src/store/setting.ts @@ -151,7 +151,7 @@ export const settingStore = createPartialStore({ for (const key of rootMiscSettingKeys) { commit("SET_ROOT_MISC_SETTING", { - // NOTE: Vuexの型処理でUnionが解かれてしまうのを迂回している + // Vuexの型処理でUnionが解かれてしまうのを迂回している // FIXME: このワークアラウンドをなくす key: key as never, value: await window.electron.getSetting(key), From 3aff677a6e06d04549fe19c2a6a8163d2da09992 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Tue, 9 Jan 2024 02:40:30 +0900 Subject: [PATCH 2/2] Update src/store/setting.ts Co-authored-by: Nanashi. --- src/store/setting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/setting.ts b/src/store/setting.ts index ce580702ad..56f13b2471 100644 --- a/src/store/setting.ts +++ b/src/store/setting.ts @@ -15,7 +15,7 @@ import { ToolbarSetting, EngineId, ConfirmedTips, - RootMiscSetting as RootMiscSetting, + RootMiscSetting, } from "@/type/preload"; import { IsEqual } from "@/type/utility";