aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-15 03:53:29 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-15 03:53:29 +0800
commitf0581285d0580062b29af3e0d5bc3af9d9e57d0d (patch)
treeaf1d4eee3822df2f9e687f066a70807d8ca86c7f /packages/website
parent04d4e797aa508bb8e45100db499907ae706c703d (diff)
downloaddexon-sol-tools-f0581285d0580062b29af3e0d5bc3af9d9e57d0d.tar
dexon-sol-tools-f0581285d0580062b29af3e0d5bc3af9d9e57d0d.tar.gz
dexon-sol-tools-f0581285d0580062b29af3e0d5bc3af9d9e57d0d.tar.bz2
dexon-sol-tools-f0581285d0580062b29af3e0d5bc3af9d9e57d0d.tar.lz
dexon-sol-tools-f0581285d0580062b29af3e0d5bc3af9d9e57d0d.tar.xz
dexon-sol-tools-f0581285d0580062b29af3e0d5bc3af9d9e57d0d.tar.zst
dexon-sol-tools-f0581285d0580062b29af3e0d5bc3af9d9e57d0d.zip
Type fixes
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}