From 5016bc00492b6fa7bbb56d5b3dca6c110eeafcae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E9=98=BF=E6=B1=9F=28Relakkes?= =?UTF-8?q?=29?= Date: Wed, 15 Apr 2026 14:43:32 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E8=87=AA=E5=8A=A8=E6=A3=80=E6=B5=8B=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E5=B9=B6=E8=B7=B3=E8=BD=AC=E8=AE=BE=E7=BD=AE=E9=A1=B5=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/src/components/layout/AppShell.tsx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/desktop/src/components/layout/AppShell.tsx b/desktop/src/components/layout/AppShell.tsx index 6d84ecfd..17a0af37 100644 --- a/desktop/src/components/layout/AppShell.tsx +++ b/desktop/src/components/layout/AppShell.tsx @@ -27,18 +27,6 @@ export function AppShell() { await initializeDesktopServerUrl() await fetchSettings() - // Check auth status: if no auth at all, redirect to provider setup - try { - const authStatus = await providersApi.authStatus() - if (!authStatus.hasAuth) { - // No auth — open Settings on the providers tab - useUIStore.getState().setPendingSettingsTab('providers') - useTabStore.getState().openTab(SETTINGS_TAB_ID, 'Settings', 'settings') - } - } catch { - // auth-status check failed — continue normally - } - // Restore tabs from localStorage await useTabStore.getState().restoreTabs() const activeId = useTabStore.getState().activeTabId