mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:02:49 +00:00
Update apps/login/ui/UsernameForm.tsx
Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
@@ -32,12 +32,10 @@ export default function UsernameForm() {
|
|||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
setLoading(false);
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
setLoading(false);
|
|
||||||
throw new Error("Failed to set user");
|
throw new Error("Failed to set user");
|
||||||
}
|
}
|
||||||
|
|
||||||
setLoading(false);
|
|
||||||
return res.json();
|
return res.json();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user