Hide Notification
Hides a notification based on its message.
Syntax
store.dispatch({ type: "notifications/HIDE_NOTIFICATION", payload: message });
Parameters
message
The message of the notification to hide.
Examples
Hides the notification with the message “Hello, world!”.
store.dispatch({
type: "notifications/HIDE_NOTIFICATION",
payload: "Hello, world!"
});