nicolium: fix notification marker update
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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;
|
||||
}
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user