Merge pull request #3967 from desen94/fix/invalidate-notification-cache-on-edit

fix: invalidate notification.one query cache on update
This commit is contained in:
Mauricio Siu
2026-03-10 16:29:03 -06:00
committed by GitHub

View File

@@ -737,6 +737,9 @@ export const HandleNotifications = ({ notificationId }: Props) => {
});
setVisible(false);
await utils.notification.all.invalidate();
if (notificationId) {
await utils.notification.one.invalidate({ notificationId });
}
})
.catch(() => {
toast.error(