mirror of
https://github.com/strapi/strapi.git
synced 2025-11-10 15:19:00 +00:00
Change import takeLatest in sagas
This commit is contained in:
parent
c27af956e2
commit
a9e1f645f2
@ -1,5 +1,4 @@
|
|||||||
import { takeLatest } from 'redux-saga';
|
import { takeLatest, call, put, fork } from 'redux-saga/effects';
|
||||||
import { call, put, fork } from 'redux-saga/effects';
|
|
||||||
import request from 'utils/request';
|
import request from 'utils/request';
|
||||||
import { DELETE_CONTENT_TYPE, MODELS_FETCH } from './constants';
|
import { DELETE_CONTENT_TYPE, MODELS_FETCH } from './constants';
|
||||||
import { modelsFetchSucceeded } from './actions';
|
import { modelsFetchSucceeded } from './actions';
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
import { takeLatest } from 'redux-saga';
|
import { takeLatest, call, put, fork, select } from 'redux-saga/effects';
|
||||||
import { call, put, fork, select } from 'redux-saga/effects';
|
|
||||||
import request from 'utils/request';
|
import request from 'utils/request';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
import { LOCATION_CHANGE } from 'react-router-redux';
|
import { LOCATION_CHANGE } from 'react-router-redux';
|
||||||
import { forEach, get, includes, map, replace, set, size, unset } from 'lodash';
|
import { forEach, get, includes, map, replace, set, size, unset } from 'lodash';
|
||||||
import { takeLatest } from 'redux-saga';
|
import { takeLatest, call, take, put, fork, cancel, select } from 'redux-saga/effects';
|
||||||
import { call, take, put, fork, cancel, select } from 'redux-saga/effects';
|
|
||||||
|
|
||||||
import request from 'utils/request';
|
import request from 'utils/request';
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user