misc: stop loading icon if post fails

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