diff --git a/packages/pl-fe/src/api/hooks/streaming/use-user-stream.ts b/packages/pl-fe/src/api/hooks/streaming/use-user-stream.ts index 7a7d61c39..d6bc00e5f 100644 --- a/packages/pl-fe/src/api/hooks/streaming/use-user-stream.ts +++ b/packages/pl-fe/src/api/hooks/streaming/use-user-stream.ts @@ -167,7 +167,7 @@ const useUserStream = () => { deleteAnnouncement(event.payload); break; case 'marker': - queryClient.setQueryData(['markers', 'notifications'], event.payload ?? null); + queryClient.setQueryData(['markers', 'notifications'], event.payload.notifications ?? null); break; } }, []);