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

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