From 427406269054a4807c6470ad90b2b2f5f016de55 Mon Sep 17 00:00:00 2001 From: one Date: Wed, 3 Sep 2025 12:40:37 +0800 Subject: [PATCH] fix: syntax error --- src/renderer/src/store/tabs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/store/tabs.ts b/src/renderer/src/store/tabs.ts index df8f3e6a8f..16195cd5f2 100644 --- a/src/renderer/src/store/tabs.ts +++ b/src/renderer/src/store/tabs.ts @@ -49,7 +49,7 @@ const tabsSlice = createSlice({ if (tab) { Object.assign(tab, action.payload.updates) } - } + }, setActiveTab: (state, action: PayloadAction) => { state.activeTabId = action.payload }