diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-07-25 00:08:26 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-07-25 00:08:26 +0200 |
commit | cf67eff86ef9a027c3247463d13b340644a0bb8c (patch) | |
tree | 5f4faa42ccb8308bbefe6fe55eea74294be053a8 /frontend/src/sagas/errors.js | |
parent | Improve sevenWondersApi and types (diff) | |
download | seven-wonders-cf67eff86ef9a027c3247463d13b340644a0bb8c.tar.gz seven-wonders-cf67eff86ef9a027c3247463d13b340644a0bb8c.tar.bz2 seven-wonders-cf67eff86ef9a027c3247463d13b340644a0bb8c.zip |
Organize imports and format JS files
Diffstat (limited to 'frontend/src/sagas/errors.js')
-rw-r--r-- | frontend/src/sagas/errors.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/frontend/src/sagas/errors.js b/frontend/src/sagas/errors.js index eece98c8..c5d68e62 100644 --- a/frontend/src/sagas/errors.js +++ b/frontend/src/sagas/errors.js @@ -1,10 +1,10 @@ // @flow -import { toastr } from 'react-redux-toastr' -import type { Channel } from 'redux-saga' -import { eventChannel } from 'redux-saga' -import { apply, cancelled, take } from 'redux-saga/effects' -import type { ApiError } from '../api/model' -import type { SevenWondersSession } from '../api/sevenWondersApi' +import { toastr } from 'react-redux-toastr'; +import type { Channel } from 'redux-saga'; +import { eventChannel } from 'redux-saga'; +import { apply, cancelled, take } from 'redux-saga/effects'; +import type { ApiError } from '../api/model'; +import type { SevenWondersSession } from '../api/sevenWondersApi'; export default function* errorHandlingSaga(session: SevenWondersSession): * { const errorChannel: Channel<ApiError> = yield eventChannel(session.watchErrors()); |