diff options
Diffstat (limited to 'frontend/src/containers')
-rw-r--r-- | frontend/src/containers/gameBrowser.js | 13 | ||||
-rw-r--r-- | frontend/src/containers/lobby.js | 5 |
2 files changed, 7 insertions, 11 deletions
diff --git a/frontend/src/containers/gameBrowser.js b/frontend/src/containers/gameBrowser.js index b654e9d9..a21d2e29 100644 --- a/frontend/src/containers/gameBrowser.js +++ b/frontend/src/containers/gameBrowser.js @@ -1,17 +1,14 @@ // @flow -import React, { Component } from 'react'; - import type { List } from 'immutable'; -import type { Games } from '../models/games'; -import type { Player } from '../models/players'; - +import React, { Component } from 'react'; import { connect } from 'react-redux'; -import { Space, InlineForm, Text } from 'rebass'; +import { InlineForm, Space, Text } from 'rebass'; import { Flex } from 'reflexbox'; import GameList from '../components/gameList'; - +import type { Games } from '../models/games'; +import type { Player } from '../models/players'; +import { actions, getAllGames } from '../redux/games'; import { getCurrentPlayer } from '../redux/players'; -import { getAllGames, actions } from '../redux/games'; class GameBrowser extends Component { props: { diff --git a/frontend/src/containers/lobby.js b/frontend/src/containers/lobby.js index fc762056..bf0cb031 100644 --- a/frontend/src/containers/lobby.js +++ b/frontend/src/containers/lobby.js @@ -1,11 +1,10 @@ -import React, { Component } from 'react'; import { List } from 'immutable'; +import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Button } from 'rebass'; import PlayerList from '../components/playerList'; - +import { actions, getCurrentGame } from '../redux/games'; import { getPlayers } from '../redux/players'; -import { getCurrentGame, actions } from '../redux/games'; class Lobby extends Component { getTitle() { |