Add preventDefault to notification delete
This commit is contained in:
parent
df2a717e8d
commit
70a19d32be
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ export default function NotificationHeaderButton(props: Props) {
|
||||||
|
|
||||||
function handleNotificationDelete(e, id) {
|
function handleNotificationDelete(e, id) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
e.preventDefault();
|
||||||
deleteNotification(id);
|
deleteNotification(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue