diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-29 21:50:54 +0200 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-29 21:50:58 +0200 |
commit | 66d727504aeba48638f98dbc9948ac2adf78f8a1 (patch) | |
tree | fdbe258587482df87948483c4840c594615247a0 /frontend | |
parent | Add doc about the recent decisions (diff) | |
download | seven-wonders-66d727504aeba48638f98dbc9948ac2adf78f8a1.tar.gz seven-wonders-66d727504aeba48638f98dbc9948ac2adf78f8a1.tar.bz2 seven-wonders-66d727504aeba48638f98dbc9948ac2adf78f8a1.zip |
Change type imports
Diffstat (limited to 'frontend')
-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', |