From 818edf25756731bcb7d0ced4100cb1d4dbf3f633 Mon Sep 17 00:00:00 2001 From: Tiago Yamamoto Date: Fri, 26 Dec 2025 14:57:32 -0300 Subject: [PATCH] fix: Resolve type mismatch in settings page credentials fetch --- frontend/src/app/dashboard/settings/page.tsx | 3 --- 1 file changed, 3 deletions(-) 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)