mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
useAuth fix
This commit is contained in:
parent
7a5160291e
commit
02bfb65c45
@ -114,6 +114,7 @@ export const AuthProvider = ({ userApi, children }: AuthProviderProps) => {
|
||||
try {
|
||||
const res = await userApi.updateUser(userRest);
|
||||
setUser(res as any);
|
||||
loadUser();
|
||||
setLoading(false);
|
||||
return res as any;
|
||||
} catch (error: any) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user