diff --git a/frontend/src/app/dashboard/settings/page.tsx b/frontend/src/app/dashboard/settings/page.tsx index bafb3dd..b2a73a7 100644 --- a/frontend/src/app/dashboard/settings/page.tsx +++ b/frontend/src/app/dashboard/settings/page.tsx @@ -65,9 +65,6 @@ export default function SettingsPage() { // Ensure we handle the response correctly (api.ts wraps it in { services: ... }) if (res && res.services) { setCredentials(res.services) - } else if (Array.isArray(res)) { - // Fallback if API returns array directly - setCredentials(res) } } catch (error) { console.error("Failed to fetch credentials", error)