style the scaling not working to fix

This commit is contained in:
Clément Le Bihan
2023-09-15 19:02:37 +02:00
parent 3c3697be61
commit 8abaaf6624
5 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ const handleSignup = async (
return translate('loggedIn');
} catch (error) {
if (error instanceof APIError) {
if (error.status === 422) return translate('usernameTaken');
if (error.status === 409) return translate('usernameTaken');
return translate(error.userMessage);
}
if (error instanceof Error) return error.message;