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:
parent
6d8a0a5640
commit
991f7c816b
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
|
Loading…
Reference in a new issue