diff options
Diffstat (limited to 'src/api/sagas/index.js')
| -rw-r--r-- | src/api/sagas/index.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/api/sagas/index.js b/src/api/sagas/index.js deleted file mode 100644 index 7fe57453..00000000 --- a/src/api/sagas/index.js +++ /dev/null @@ -1,15 +0,0 @@ -import {takeEvery} from "redux-saga/effects"; -import {LOG_IN} from "../../actions/auth"; -import {ADD_SIMULATION, DELETE_SIMULATION} from "../../actions/simulations"; -import {DELETE_CURRENT_USER, FETCH_AUTHORIZATIONS_OF_CURRENT_USER} from "../../actions/users"; -import {onDeleteCurrentUser} from "./profile"; -import {onSimulationAdd, onSimulationDelete} from "./simulations"; -import {onFetchAuthorizationsOfCurrentUser, onFetchLoggedInUser} from "./users"; - -export default function* rootSaga() { - yield takeEvery(LOG_IN, onFetchLoggedInUser); - yield takeEvery(FETCH_AUTHORIZATIONS_OF_CURRENT_USER, onFetchAuthorizationsOfCurrentUser); - yield takeEvery(ADD_SIMULATION, onSimulationAdd); - yield takeEvery(DELETE_SIMULATION, onSimulationDelete); - yield takeEvery(DELETE_CURRENT_USER, onDeleteCurrentUser); -} |
