Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
dismiss={() => {
dispatch(removeNotification(notification.id));
}}
/>
dismiss={() => {
dispatch(removeNotification(notification.id));
}}
/>
selectPageNotifications(state).forEach(notification =>
next(removeNotification(notification.id))
);