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
2022-11-21 00:54:05 +01:00

8 lines
262 B
JavaScript
Executable file

import { takeEvery } from 'redux-saga/effects';
import { LOCATION_CHANGE } from 'redux-first-history';
import services from '../services';
export default function* routerWatchers() {
yield takeEvery(LOCATION_CHANGE, () => services.handleLocationChange());
}