pl-fe: this was intended to be re-enabled some time ago

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-10 13:14:57 +02:00
parent 6d8a0a5640
commit 991f7c816b

View file

@ -2,6 +2,7 @@ import { useCallback } from 'react';
import { updateConversations } from 'pl-fe/actions/conversations';
import { fetchFilters } from 'pl-fe/actions/filters';
import { MARKER_FETCH_SUCCESS } from 'pl-fe/actions/markers';
import { updateNotificationsQueue } from 'pl-fe/actions/notifications';
import { getLocale, getSettings } from 'pl-fe/actions/settings';
import { updateStatus } from 'pl-fe/actions/statuses';
@ -167,9 +168,9 @@ const useUserStream = () => {
case 'announcement.delete':
deleteAnnouncement(event.payload);
break;
// case 'marker':
// dispatch({ type: MARKER_FETCH_SUCCESS, marker: JSON.parse(data.payload) });
// break;
case 'marker':
dispatch({ type: MARKER_FETCH_SUCCESS, marker: event.payload });
break;
}
}, []);