summaryrefslogtreecommitdiff
path: root/frontend/src/layouts/LobbyLayout.js
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2017-05-28 23:39:12 +0200
committerVictor Chabbert <chabbertvi@eisti.eu>2017-05-28 23:39:12 +0200
commitbb2ced764938c4aa6b4e003b7dedb26c8a096b97 (patch)
tree7adf701e85f724b85fe042ef9ae00ff52e3c5213 /frontend/src/layouts/LobbyLayout.js
parentUpgrade react-scripts (diff)
downloadseven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.tar.gz
seven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.tar.bz2
seven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.zip
Initial type checking work with flowtype
Diffstat (limited to 'frontend/src/layouts/LobbyLayout.js')
-rw-r--r--frontend/src/layouts/LobbyLayout.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/layouts/LobbyLayout.js b/frontend/src/layouts/LobbyLayout.js
index 27757176..865641dd 100644
--- a/frontend/src/layouts/LobbyLayout.js
+++ b/frontend/src/layouts/LobbyLayout.js
@@ -1,9 +1,9 @@
-import React from 'react';
+import React, { type Children } from 'react';
import { Banner } from 'rebass';
import logo from './logo-7-wonders.png';
import ErrorToastContainer from '../components/errors/errorToastContainer';
-export default props => (
+export default ({ children }: { children: Children }) => (
<div>
<Banner
align="center"
@@ -12,7 +12,7 @@ export default props => (
>
<img src={logo} alt="Seven Wonders Logo" />
</Banner>
- {props.children}
+ {children}
<ErrorToastContainer />
</div>
);
bgstack15