change notifications div scroll behavior and max-height and add a call to update function on deleting a notification
This commit is contained in:
1 parent
42748ad722
commit
c462385b91
2 files changed
+4
No files matched your search
@@ -90,6 +90,7 @@ function Header() {
|
||||
const result = await deleteNotificationUser(notificationId);
|
||||
if (result) {
|
||||
setNotifications(prev => prev.filter(n => n.id !== notificationId));
|
||||
update();
|
||||
}
|
||||
} catch (err) {
|
||||
console.error('Erreur suppression notification :', err);
|
||||
|
||||
Reference in new issue
Block a user