aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-03 18:27:28 +0800
committerFabio Berger <me@fabioberger.com>2018-10-03 18:27:28 +0800
commit773220f84037680b17a8eccfbaa04cd265197390 (patch)
tree021e41fbc958b1f4676f6ea8aa3c160187870784 /packages/website
parent0c80fea8216ede2b77c448e3e1b4d013c1c76669 (diff)
downloaddexon-sol-tools-773220f84037680b17a8eccfbaa04cd265197390.tar.gz
dexon-sol-tools-773220f84037680b17a8eccfbaa04cd265197390.tar.zst
dexon-sol-tools-773220f84037680b17a8eccfbaa04cd265197390.zip
Fix link
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/dropdowns/developers_drop_down.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/website/ts/components/dropdowns/developers_drop_down.tsx b/packages/website/ts/components/dropdowns/developers_drop_down.tsx
index 675357f41..a314f0f54 100644
--- a/packages/website/ts/components/dropdowns/developers_drop_down.tsx
+++ b/packages/website/ts/components/dropdowns/developers_drop_down.tsx
@@ -171,7 +171,12 @@ export class DevelopersDropDown extends React.Component<DevelopersDropDownProps,
const linkText = this.props.translate.get(link.title as Key, Deco.Cap);
return (
<div className={`pr1 pt1 ${!isLast && 'pb1'}`} key={`dev-dropdown-link-${link.title}`}>
- <Link to={link.to} type={link.type} shouldOpenInNewTab={link.shouldOpenInNewTab} style={linkStyle}>
+ <Link
+ to={link.to}
+ type={link.type}
+ shouldOpenInNewTab={!!link.shouldOpenInNewTab}
+ style={linkStyle}
+ >
{linkText}
</Link>
</div>