summaryrefslogtreecommitdiff
path: root/frontend/src/sagas/errors.js
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2017-08-07 23:56:23 +0200
committerVictor Chabbert <chabbertvi@eisti.eu>2017-08-07 23:56:23 +0200
commit6b9ebbfbd6fbe47900a4f2e785c550edb915669a (patch)
treebfff955ecd3fe675c679b905359326792a526ab3 /frontend/src/sagas/errors.js
parentRemove unnecessary selector (diff)
downloadseven-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.js2
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);
bgstack15