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/gameBrowser.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/gameBrowser.js')
-rw-r--r-- | frontend/src/sagas/gameBrowser.js | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/frontend/src/sagas/gameBrowser.js b/frontend/src/sagas/gameBrowser.js index 5b815f8d..ed17a723 100644 --- a/frontend/src/sagas/gameBrowser.js +++ b/frontend/src/sagas/gameBrowser.js @@ -1,13 +1,12 @@ // @flow -import { normalize } from 'normalizr' -import { push } from 'react-router-redux' -import { eventChannel } from 'redux-saga' -import { apply, call, put, take } from 'redux-saga/effects' -import type { SevenWondersSession } from '../api/sevenWondersApi' - -import { actions as gameActions, types } from '../redux/games' -import { actions as playerActions } from '../redux/players' -import { game as gameSchema, gameList as gameListSchema } from '../schemas/games' +import { normalize } from 'normalizr'; +import { push } from 'react-router-redux'; +import { eventChannel } from 'redux-saga'; +import { apply, call, put, take } from 'redux-saga/effects'; +import type { SevenWondersSession } from '../api/sevenWondersApi'; +import { actions as gameActions, types } from '../redux/games'; +import { actions as playerActions } from '../redux/players'; +import { game as gameSchema, gameList as gameListSchema } from '../schemas/games'; function* watchGames(session: SevenWondersSession): * { const gamesChannel = yield eventChannel(session.watchGames()); |