diff --git a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx index 639df9df960..0d279961a33 100644 --- a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx +++ b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx @@ -93,7 +93,7 @@ export const TabsUI = (props: TabsUIProps) => { await props.plugin.call('settings', 'updateCopilotChoice', ai_switch) return ai_switch } - return await props.plugin.call('settings', 'getCopilotSetting') + return init_state } catch (e) { return false }