aboutsummaryrefslogtreecommitdiff
path: root/src/api/Notifications/NotificationComponent.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/Notifications/NotificationComponent.tsx')
-rw-r--r--src/api/Notifications/NotificationComponent.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/Notifications/NotificationComponent.tsx b/src/api/Notifications/NotificationComponent.tsx
index 65d4c43..036cacd 100644
--- a/src/api/Notifications/NotificationComponent.tsx
+++ b/src/api/Notifications/NotificationComponent.tsx
@@ -89,4 +89,6 @@ export default ErrorBoundary.wrap(function NotificationComponent({
)}
</button>
);
+}, {
+ onError: ({ props }) => props.onClose!()
});