Fix: Implement Phase 1 and 2 for Account & Profile tab

This commit is contained in:
gpt-engineer-app[bot]
2025-10-14 18:44:14 +00:00
parent d4b859f637
commit 3833ba9748
9 changed files with 318 additions and 35 deletions

View File

@@ -29,7 +29,7 @@ export function useProfile(userId: string | undefined) {
if (!data) return null;
// Type assertion since we know the structure from the RPC function
// Type the JSONB response properly
const profileData = data as unknown as Profile;
// Fetch location separately if location_id is present and visible