mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 02:31:12 -05:00
Fix: Implement Phase 1 and 2 for Account & Profile tab
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user