summaryrefslogtreecommitdiff
path: root/frontend/src/layouts/HomeLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/layouts/HomeLayout.js')
-rw-r--r--frontend/src/layouts/HomeLayout.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/frontend/src/layouts/HomeLayout.js b/frontend/src/layouts/HomeLayout.js
index 613f2876..61eef427 100644
--- a/frontend/src/layouts/HomeLayout.js
+++ b/frontend/src/layouts/HomeLayout.js
@@ -1,14 +1,15 @@
-import React from 'react';
+// @flow
+import React, { type Children } from 'react';
import { Banner } from 'rebass';
import logo from './logo-7-wonders.png';
import background from './background-zeus-temple.jpg';
import ErrorToastContainer from '../components/errors/errorToastContainer';
-export default props => (
+export default ({ children }: { children: Children }) => (
<div>
<Banner align="center" backgroundImage={background}>
<img src={logo} alt="Seven Wonders" />
- {props.children}
+ {children}
</Banner>
<ErrorToastContainer />
</div>
bgstack15