1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 15:49:46 +02:00
planka/client/src/sagas/core/watchers/router.js

9 lines
286 B
JavaScript
Raw Normal View History

2019-08-31 04:07:25 +05:00
import { takeEvery } from 'redux-saga/effects';
import { LOCATION_CHANGE } from 'connected-react-router';
import { handleLocationChangeService } from '../services';
2019-08-31 04:07:25 +05:00
export default function* routerWatchers() {
yield takeEvery(LOCATION_CHANGE, () => handleLocationChangeService());
2019-08-31 04:07:25 +05:00
}