mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 03:23:40 +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) {
|
||||
setLoading(false);
|
||||
throw new Error("Failed to set user");
|
||||
}
|
||||
|
||||
setLoading(false);
|
||||
return res.json();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user