misc: only disable loading when error occurs

This commit is contained in:
Xyphyn committed 2023-10-05 17:37:12 -07:00
1 parent 5c85ff292f
commit 8e4a875898
1 file changed
+1 -2
@@ -141,9 +141,8 @@
}
} catch (err) {
toast({ content: err as any, type: 'error' })
data.loading = false
}
data.loading = false
}
let uploadingImage = false