diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-11-30 19:05:31 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-11-30 19:05:31 +0800 |
commit | 1105d768612474611a40e090e1e2bddcb30952ab (patch) | |
tree | a8c422763a89d94bd5b60cba4bf453d74062457b /packages/website | |
parent | 9b6d738ab102b47a133260f8515071396a0fe6cc (diff) | |
download | dexon-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/website')
-rw-r--r-- | packages/website/ts/@next/components/siteWrap.tsx | 26 |
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 }; |