summaryrefslogtreecommitdiff
path: root/frontend/src/layouts/LobbyLayout.js
diff options
context:
space:
mode:
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