aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts')
-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 };