refactor: update agent profile fetch to use getMyProfile method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user