diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-08-07 23:56:23 +0200 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-08-07 23:56:23 +0200 |
commit | 6b9ebbfbd6fbe47900a4f2e785c550edb915669a (patch) | |
tree | bfff955ecd3fe675c679b905359326792a526ab3 /frontend/src/sagas/errors.js | |
parent | Remove unnecessary selector (diff) | |
download | seven-wonders-6b9ebbfbd6fbe47900a4f2e785c550edb915669a.tar.gz seven-wonders-6b9ebbfbd6fbe47900a4f2e785c550edb915669a.tar.bz2 seven-wonders-6b9ebbfbd6fbe47900a4f2e785c550edb915669a.zip |
Fix flow errors
Diffstat (limited to 'frontend/src/sagas/errors.js')
-rw-r--r-- | frontend/src/sagas/errors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/sagas/errors.js b/frontend/src/sagas/errors.js index c5d68e62..b6ccb91d 100644 --- a/frontend/src/sagas/errors.js +++ b/frontend/src/sagas/errors.js @@ -7,7 +7,7 @@ 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()); + const errorChannel: Channel = yield eventChannel(session.watchErrors()); try { while (true) { const error: ApiError = yield take(errorChannel); |