Remember uploaded images

This commit is contained in:
2025-08-04 19:34:50 +02:00
parent 464791d9f5
commit 8aa8be7e9f
21 changed files with 573 additions and 241 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
export function parseError(e: unknown): string {
if (e instanceof Error && e.name === 'FetchError' && 'statusCode' in e) {
if (e instanceof Error && 'statusCode' in e) {
switch (e.statusCode) {
case 401:
return 'error.401';