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

9 lines
276 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 { locationChangedService } from '../services';
export default function* routerWatchers() {
2019-08-31 04:07:25 +05:00
yield takeEvery(LOCATION_CHANGE, () => locationChangedService());
}