fix(Notifications): Correctly close errored notifications

This commit is contained in:
Vendicated 2023-03-01 05:45:09 +01:00
parent faa90eccd3
commit 37003edae9
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
2 changed files with 11 additions and 6 deletions

View file

@ -89,4 +89,6 @@ export default ErrorBoundary.wrap(function NotificationComponent({
)}
</button>
);
}, {
onError: ({ props }) => props.onClose!()
});