Add team creation, team join and debug login screen

This commit is contained in:
2025-08-03 18:58:17 +02:00
parent facb07de5b
commit 36e8ef41bf
15 changed files with 735 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
export function parseError(e: unknown): string {
if (e instanceof Error && e.name === 'FetchError' && 'statusCode' in e) {
switch (e.statusCode) {
case 401:
return 'error.401';
case 404:
return 'error.404';
}
}
return 'error.default';
}