aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/top_bar
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-05 20:54:37 +0800
committerFabio Berger <me@fabioberger.com>2018-10-05 20:54:37 +0800
commit5f2cd33da07a7acc65f2e05acb35755f74af75a4 (patch)
tree13a3453c5104357568b70f4fec6f124dcbb492b9 /packages/website/ts/components/top_bar
parente0355a2e395fc056fd1d5c5e1780784853546acd (diff)
downloaddexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.gz
dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.zst
dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.zip
Remove style prop from Link
Diffstat (limited to 'packages/website/ts/components/top_bar')
-rw-r--r--packages/website/ts/components/top_bar/top_bar_menu_item.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar_menu_item.tsx b/packages/website/ts/components/top_bar/top_bar_menu_item.tsx
index d5ee96850..c88db95fa 100644
--- a/packages/website/ts/components/top_bar/top_bar_menu_item.tsx
+++ b/packages/website/ts/components/top_bar/top_bar_menu_item.tsx
@@ -37,7 +37,7 @@ export class TopBarMenuItem extends React.Component<TopBarMenuItemProps, TopBarM
);
return (
<div className={`center ${this.props.className}`} style={{ ...this.props.style, color: menuItemColor }}>
- <Link to={this.props.path} type={this.props.linkType} style={{ color: linkColor }}>
+ <Link to={this.props.path} type={this.props.linkType} fontColor={linkColor}>
{itemContent}
</Link>
</div>