Fix AuthProvider useState error

This commit is contained in:
gpt-engineer-app[bot]
2025-09-29 16:36:09 +00:00
parent ae7dc003ce
commit b327cefd1c
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
import React, { createContext, useContext, useEffect, useState } from 'react';
import { User, Session } from '@supabase/supabase-js';
import type { User, Session } from '@supabase/supabase-js';
import { supabase } from '@/integrations/supabase/client';
import { Profile } from '@/types/database';
import type { Profile } from '@/types/database';
interface AuthContextType {
user: User | null;