You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
335 B
JavaScript
12 lines
335 B
JavaScript
import { takeLatest } from 'redux-saga/effects';
|
|
|
|
import { deleteNotificationService } from '../services';
|
|
import EntryActionTypes from '../../../constants/EntryActionTypes';
|
|
|
|
export default function* () {
|
|
yield takeLatest(
|
|
EntryActionTypes.NOTIFICATION_DELETE,
|
|
({ payload: { id } }) => deleteNotificationService(id),
|
|
);
|
|
}
|