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

9 lines
262 B
JavaScript
Raw Normal View History

2019-08-31 04:07:25 +05:00
import { takeEvery } from 'redux-saga/effects';
2022-11-21 00:54:05 +01:00
import { LOCATION_CHANGE } from 'redux-first-history';
2019-08-31 04:07:25 +05:00
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
}