fix: Fix router synchronization with redux store
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { takeEvery } from 'redux-saga/effects';
|
||||
import { LOCATION_CHANGE } from 'redux-first-history';
|
||||
import { LOCATION_CHANGE_HANDLE } from '../../../lib/redux-router';
|
||||
|
||||
import services from '../services';
|
||||
|
||||
export default function* routerWatchers() {
|
||||
yield takeEvery(LOCATION_CHANGE, () => services.handleLocationChange());
|
||||
yield takeEvery(LOCATION_CHANGE_HANDLE, () => services.handleLocationChange());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user