Update AuthContext state types

cgen-fe588d4f51f542ef9398a51b88cc6652
This commit is contained in:
Builder.io 2025-08-06 00:29:58 +00:00
parent 0bc380a1d1
commit 03c7e5033c

View file

@ -29,7 +29,7 @@ export const useAuth = () => {
export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => {
const [user, setUser] = useState<User | null>(null);
const [profile, setProfile] = useState<UserProfile | null>(null);
const [profile, setProfile] = useState<AethexUserProfile | null>(null);
const [session, setSession] = useState<Session | null>(null);
const [loading, setLoading] = useState(true);