From a5f8f33d6803f854519477b593d7ccf1a2053dde Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Tue, 31 Mar 2026 23:49:52 +0530 Subject: [PATCH] refactor: update agent profile fetch to use getMyProfile method --- src/app/(agent)/agent/dashboard/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(agent)/agent/dashboard/page.tsx b/src/app/(agent)/agent/dashboard/page.tsx index 55fdff0..875aec2 100644 --- a/src/app/(agent)/agent/dashboard/page.tsx +++ b/src/app/(agent)/agent/dashboard/page.tsx @@ -305,7 +305,7 @@ export default function AgentDashboard() { } // Also re-fetch profile to confirm try { - const freshProfile = await agentsService.getProfile(); + const freshProfile = await agentsService.getMyProfile(); setAgentProfile(freshProfile); } catch { // Local state already updated