Merge pull request #1051 from ItzNotABug/fix-correct-notification-type-on-error

Fix: Use `error` for notification types on an error.
This commit is contained in:
Torsten Dittmann authored and GitHub committed 2024-04-26 18:51:35 +02:00
commit 5f7d0c1eab
1 file changed
+2 -2
@@ -30,7 +30,7 @@
});
} catch (error) {
addNotification({
type: 'success',
type: 'error',
message: 'Something went wrong, please try again later'
});
}
@@ -52,7 +52,7 @@
});
} catch (error) {
addNotification({
type: 'success',
type: 'error',
message: 'Something went wrong, please try again later'
});
}