mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
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:
@@ -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'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user