summaryrefslogtreecommitdiff
path: root/frontend/src/sagas.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-07-25 00:08:26 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-07-25 00:08:26 +0200
commitcf67eff86ef9a027c3247463d13b340644a0bb8c (patch)
tree5f4faa42ccb8308bbefe6fe55eea74294be053a8 /frontend/src/sagas.js
parentImprove sevenWondersApi and types (diff)
downloadseven-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.js')
-rw-r--r--frontend/src/sagas.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/frontend/src/sagas.js b/frontend/src/sagas.js
index b7fc4122..a1f80c73 100644
--- a/frontend/src/sagas.js
+++ b/frontend/src/sagas.js
@@ -1,13 +1,11 @@
// @flow
+import type { History } from 'react-router';
import { router } from 'redux-saga-router';
import { call, fork } from 'redux-saga/effects';
-
+import { connectToGame, SevenWondersSession } from './api/sevenWondersApi';
import { makeSagaRoutes } from './routes';
import errorHandlingSaga from './sagas/errors';
-import type { History } from 'react-router';
-import { SevenWondersSession, connectToGame } from './api/sevenWondersApi';
-
export default function* rootSaga(history: History): * {
let sevenWondersSession: SevenWondersSession | void;
try {
bgstack15