aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-30 19:05:31 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-30 19:05:31 +0800
commit1105d768612474611a40e090e1e2bddcb30952ab (patch)
treea8c422763a89d94bd5b60cba4bf453d74062457b
parent9b6d738ab102b47a133260f8515071396a0fe6cc (diff)
downloaddexon-sol-tools-1105d768612474611a40e090e1e2bddcb30952ab.tar
dexon-sol-tools-1105d768612474611a40e090e1e2bddcb30952ab.tar.gz
dexon-sol-tools-1105d768612474611a40e090e1e2bddcb30952ab.tar.bz2
dexon-sol-tools-1105d768612474611a40e090e1e2bddcb30952ab.tar.lz
dexon-sol-tools-1105d768612474611a40e090e1e2bddcb30952ab.tar.xz
dexon-sol-tools-1105d768612474611a40e090e1e2bddcb30952ab.tar.zst
dexon-sol-tools-1105d768612474611a40e090e1e2bddcb30952ab.zip
Linting format
-rw-r--r--packages/website/ts/@next/components/siteWrap.tsx26
1 files changed, 10 insertions, 16 deletions
diff --git a/packages/website/ts/@next/components/siteWrap.tsx b/packages/website/ts/@next/components/siteWrap.tsx
index 828842064..a175c6901 100644
--- a/packages/website/ts/@next/components/siteWrap.tsx
+++ b/packages/website/ts/@next/components/siteWrap.tsx
@@ -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 };