summaryrefslogtreecommitdiff
path: root/frontend/src/sagas.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-04-30 00:14:11 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-04-30 00:14:49 +0200
commit474dbb94d07621bb263e61f2c300f5ef29b40de3 (patch)
treebe0798e552c425216e17bcb33227a054f90c4358 /frontend/src/sagas.js
parentUpgrade to reflexbox 3.0.1 (diff)
downloadseven-wonders-474dbb94d07621bb263e61f2c300f5ef29b40de3.tar.gz
seven-wonders-474dbb94d07621bb263e61f2c300f5ef29b40de3.tar.bz2
seven-wonders-474dbb94d07621bb263e61f2c300f5ef29b40de3.zip
Remove unused history variable from rootSaga
Diffstat (limited to 'frontend/src/sagas.js')
-rw-r--r--frontend/src/sagas.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/src/sagas.js b/frontend/src/sagas.js
index 40f8a587..d9069051 100644
--- a/frontend/src/sagas.js
+++ b/frontend/src/sagas.js
@@ -1,5 +1,4 @@
// @flow
-import type { History } from 'react-router';
import { call, fork } from 'redux-saga/effects';
import { connectToGame, SevenWondersSession } from './api/sevenWondersApi';
import { errorHandlingSaga } from './sagas/errors';
@@ -7,7 +6,7 @@ import { gameBrowserSaga } from './sagas/gameBrowser';
import { homeSaga } from './sagas/home';
import { lobbySaga } from './sagas/lobby';
-export function* rootSaga(history: History): * {
+export function* rootSaga(): * {
let sevenWondersSession: SevenWondersSession | void;
try {
sevenWondersSession = yield call(connectToGame);
bgstack15