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
2024-04-26 18:51:35 +02:00
committed by GitHub
@@ -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'
});
}