diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-05 20:54:37 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-05 20:54:37 +0800 |
commit | 5f2cd33da07a7acc65f2e05acb35755f74af75a4 (patch) | |
tree | 13a3453c5104357568b70f4fec6f124dcbb492b9 /packages/website/ts/components/ui | |
parent | e0355a2e395fc056fd1d5c5e1780784853546acd (diff) | |
download | dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.gz dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.bz2 dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.lz dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.xz dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.zst dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.zip |
Remove style prop from Link
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r-- | packages/website/ts/components/ui/custom_menu_item.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/website/ts/components/ui/custom_menu_item.tsx b/packages/website/ts/components/ui/custom_menu_item.tsx index 11f61b336..c25da6be6 100644 --- a/packages/website/ts/components/ui/custom_menu_item.tsx +++ b/packages/website/ts/components/ui/custom_menu_item.tsx @@ -4,7 +4,6 @@ import * as React from 'react'; interface CustomMenuItemProps { to: string; - style?: React.CSSProperties; onClick?: () => void; className?: string; } @@ -30,7 +29,7 @@ export class CustomMenuItem extends React.Component<CustomMenuItemProps, CustomM opacity: this.state.isHovering ? 0.5 : 1, }; return ( - <Link to={this.props.to} style={this.props.style}> + <Link to={this.props.to}> <div onClick={this.props.onClick.bind(this)} className={`mx-auto ${this.props.className}`} |