Mute socket messages in production, fix max-len, update dependencies
This commit is contained in:
@@ -10,11 +10,18 @@ import EntryActionTypes from '../../../constants/EntryActionTypes';
|
||||
|
||||
export default function* () {
|
||||
yield all([
|
||||
/* eslint-disable max-len */
|
||||
takeLatest(EntryActionTypes.LIST_IN_CURRENT_BOARD_CREATE, ({ payload: { data } }) => createListInCurrentBoardService(data)),
|
||||
takeLatest(EntryActionTypes.LIST_UPDATE, ({ payload: { id, data } }) => updateListService(id, data)),
|
||||
takeLatest(EntryActionTypes.LIST_MOVE, ({ payload: { id, index } }) => moveListService(id, index)),
|
||||
/* eslint-enable max-len */
|
||||
takeLatest(
|
||||
EntryActionTypes.LIST_IN_CURRENT_BOARD_CREATE,
|
||||
({ payload: { data } }) => createListInCurrentBoardService(data),
|
||||
),
|
||||
takeLatest(
|
||||
EntryActionTypes.LIST_UPDATE,
|
||||
({ payload: { id, data } }) => updateListService(id, data),
|
||||
),
|
||||
takeLatest(
|
||||
EntryActionTypes.LIST_MOVE,
|
||||
({ payload: { id, index } }) => moveListService(id, index),
|
||||
),
|
||||
takeLatest(EntryActionTypes.LIST_DELETE, ({ payload: { id } }) => deleteListService(id)),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user