Add preventDefault to notification delete

This commit is contained in:
Raphael Wickihalder 2022-06-17 06:22:24 +02:00
parent df2a717e8d
commit 70a19d32be
No known key found for this signature in database
GPG key ID: 05179BB92383243D

View file

@ -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);
} }