diff options
Diffstat (limited to 'frontend/src')
-rw-r--r-- | frontend/src/layouts/HomeLayout.js | 3 | ||||
-rw-r--r-- | frontend/src/layouts/LobbyLayout.js | 3 | ||||
-rw-r--r-- | frontend/src/redux/games.js | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/frontend/src/layouts/HomeLayout.js b/frontend/src/layouts/HomeLayout.js index 61eef427..33167679 100644 --- a/frontend/src/layouts/HomeLayout.js +++ b/frontend/src/layouts/HomeLayout.js @@ -1,5 +1,6 @@ // @flow -import React, { type Children } from 'react'; +import React from 'react'; +import type { Children } from 'react'; import { Banner } from 'rebass'; import logo from './logo-7-wonders.png'; import background from './background-zeus-temple.jpg'; diff --git a/frontend/src/layouts/LobbyLayout.js b/frontend/src/layouts/LobbyLayout.js index 865641dd..29d99e1b 100644 --- a/frontend/src/layouts/LobbyLayout.js +++ b/frontend/src/layouts/LobbyLayout.js @@ -1,4 +1,5 @@ -import React, { type Children } from 'react'; +import React from 'react'; +import type { Children } from 'react'; import { Banner } from 'rebass'; import logo from './logo-7-wonders.png'; import ErrorToastContainer from '../components/errors/errorToastContainer'; diff --git a/frontend/src/redux/games.js b/frontend/src/redux/games.js index f2df2492..6cc8f4c5 100644 --- a/frontend/src/redux/games.js +++ b/frontend/src/redux/games.js @@ -1,7 +1,7 @@ // @flow import { fromJS } from 'immutable'; -import GamesState, { type GameMapType, type GameNormalMapType, type GameShape } from '../models/games'; - +import GamesState from '../models/games'; +import type { GameMapType, GameNormalMapType, GameShape } from "../models/games"; export const types = { UPDATE_GAMES: 'GAME/UPDATE_GAMES', REQUEST_CREATE_GAME: 'GAME/REQUEST_CREATE_GAME', |