aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/@next/components/header.tsx2
-rw-r--r--packages/website/ts/@next/components/text.tsx2
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx
index 368b1e665..dae2741e4 100644
--- a/packages/website/ts/@next/components/header.tsx
+++ b/packages/website/ts/@next/components/header.tsx
@@ -116,7 +116,7 @@ const NavItem = (props: { link: NavItem; key: string }) => {
{link.dropdownComponent &&
<DropdownWrap width={link.dropdownWidth}>
- <Subnav />
+ {Subnav}
</DropdownWrap>
}
</LinkWrap>
diff --git a/packages/website/ts/@next/components/text.tsx b/packages/website/ts/@next/components/text.tsx
index 7236a5a37..350c4c844 100644
--- a/packages/website/ts/@next/components/text.tsx
+++ b/packages/website/ts/@next/components/text.tsx
@@ -49,13 +49,11 @@ export const Heading: React.StatelessComponent<HeadingProps> = props => {
const {
asElement = 'h1',
children,
- ...style
} = props;
const Component = StyledHeading.withComponent(asElement);
return (
<Component
- style={{...style}}
{...props}
>
{children}