diff --git a/web/app/composables/api/useNotificationAPI.ts b/web/app/composables/api/useNotificationAPI.ts index 73fd8d5a..398640ae 100644 --- a/web/app/composables/api/useNotificationAPI.ts +++ b/web/app/composables/api/useNotificationAPI.ts @@ -168,7 +168,7 @@ export default function () { } // rollback - oldNotifs?.forEach(({ key, data }) => { + oldNotifs.forEach(({ key, data }) => { queryCache.setQueryData(key, data) }) },