Update AuthContext state types
cgen-fe588d4f51f542ef9398a51b88cc6652
This commit is contained in:
parent
0bc380a1d1
commit
03c7e5033c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue