Refactor: Implement JSONB elimination plan

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 13:32:29 +00:00
parent ab719e3359
commit 2928ad0f4c
3 changed files with 92 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import { useQuery, useQueryClient } from '@tanstack/react-query';
import { supabase } from '@/integrations/supabase/client';
import { Profile } from '@/types/database';
import { getErrorMessage } from '@/lib/errorHandler';
export function useProfile(userId: string | undefined) {
const queryClient = useQueryClient();