Linting format

This commit is contained in:
Fred Carlsen
2018-11-30 12:05:31 +01:00
parent 9b6d738ab1
commit 1105d76861

View File

@@ -12,26 +12,20 @@ interface Props {
}
const SiteWrap: React.StatelessComponent<Props> = props => {
export const SiteWrap: React.StatelessComponent<Props> = props => {
const { children } = props;
return (
<>
{/* GlobalStyles will be exposed the theme via provider,
same is true for all children of SiteWrap
*/}
<GlobalStyles />
<Header />
<Main>
{ children }
</Main>
<Footer/>
{/* GlobalStyles will be exposed the theme via provider,
same is true for all children of SiteWrap
*/}
<GlobalStyles />
<Header />
<Main>
{children}
</Main>
<Footer/>
</>
);
};
export { SiteWrap };