ref: Refactoring
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { takeEvery } from 'redux-saga/effects';
|
||||
import { LOCATION_CHANGE } from 'connected-react-router';
|
||||
|
||||
import { handleLocationChangeService } from '../services';
|
||||
import services from '../services';
|
||||
|
||||
export default function* routerWatchers() {
|
||||
yield takeEvery(LOCATION_CHANGE, () => handleLocationChangeService());
|
||||
yield takeEvery(LOCATION_CHANGE, () => services.handleLocationChange());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user