diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-11-30 17:47:26 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-11-30 17:47:26 +0800 |
commit | c2d958515009967a6802a06e47f454e12d15a7fe (patch) | |
tree | 86a3a2a5580a492134d11b68a30a4fe3cd94ecab /packages/website/ts | |
parent | 3586dde4803d09209af570bc565c45f247f5e0ff (diff) | |
download | dexon-sol-tools-c2d958515009967a6802a06e47f454e12d15a7fe.tar dexon-sol-tools-c2d958515009967a6802a06e47f454e12d15a7fe.tar.gz dexon-sol-tools-c2d958515009967a6802a06e47f454e12d15a7fe.tar.bz2 dexon-sol-tools-c2d958515009967a6802a06e47f454e12d15a7fe.tar.lz dexon-sol-tools-c2d958515009967a6802a06e47f454e12d15a7fe.tar.xz dexon-sol-tools-c2d958515009967a6802a06e47f454e12d15a7fe.tar.zst dexon-sol-tools-c2d958515009967a6802a06e47f454e12d15a7fe.zip |
Linter fixes
Diffstat (limited to 'packages/website/ts')
-rw-r--r-- | packages/website/ts/@next/components/button.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx index 39e30105a..2e8fd03cf 100644 --- a/packages/website/ts/@next/components/button.tsx +++ b/packages/website/ts/@next/components/button.tsx @@ -3,19 +3,18 @@ import styled from 'styled-components'; import { colors } from 'ts/style/colors'; - interface ButtonInterface { children: Node | string; transparent?: any; inline?: any; - href?: string, + href?: string; onClick?: () => void; } export const Button: React.StatelessComponent<ButtonInterface> = props => { const { onClick } = props; const Component = onClick ? StyledButton : StyledButton.withComponent('a'); - return <Component {...props}>{ props.children }</Component>; + return <Component {...props}>{props.children}</Component>; }; // Added this, & + & doesnt really work since we switch with element types... |