mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 17:13:03 -04:00
fix(Notifications): Correctly close errored notifications
This commit is contained in:
parent
faa90eccd3
commit
37003edae9
2 changed files with 11 additions and 6 deletions
|
@ -89,4 +89,6 @@ export default ErrorBoundary.wrap(function NotificationComponent({
|
|||
)}
|
||||
</button>
|
||||
);
|
||||
}, {
|
||||
onError: ({ props }) => props.onClose!()
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue