Initial commit
This commit is contained in:
8
client/src/sagas/login/watchers/router.js
Executable file
8
client/src/sagas/login/watchers/router.js
Executable file
@@ -0,0 +1,8 @@
|
||||
import { takeEvery } from 'redux-saga/effects';
|
||||
import { LOCATION_CHANGE } from 'connected-react-router';
|
||||
|
||||
import { locationChangedService } from '../services';
|
||||
|
||||
export default function* () {
|
||||
yield takeEvery(LOCATION_CHANGE, () => locationChangedService());
|
||||
}
|
||||
Reference in New Issue
Block a user