aboutsummaryrefslogtreecommitdiffstats
path: root/packages
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 /packages
parent9b6d738ab102b47a133260f8515071396a0fe6cc (diff)
downloaddexon-0x-contracts-1105d768612474611a40e090e1e2bddcb30952ab.tar
dexon-0x-contracts-1105d768612474611a40e090e1e2bddcb30952ab.tar.gz
dexon-0x-contracts-1105d768612474611a40e090e1e2bddcb30952ab.tar.bz2
dexon-0x-contracts-1105d768612474611a40e090e1e2bddcb30952ab.tar.lz
dexon-0x-contracts-1105d768612474611a40e090e1e2bddcb30952ab.tar.xz
dexon-0x-contracts-1105d768612474611a40e090e1e2bddcb30952ab.tar.zst
dexon-0x-contracts-1105d768612474611a40e090e1e2bddcb30952ab.zip
Linting format
Diffstat (limited to 'packages')
-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 };