diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-03 18:27:28 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-03 18:27:28 +0800 |
commit | 773220f84037680b17a8eccfbaa04cd265197390 (patch) | |
tree | 021e41fbc958b1f4676f6ea8aa3c160187870784 | |
parent | 0c80fea8216ede2b77c448e3e1b4d013c1c76669 (diff) | |
download | dexon-0x-contracts-773220f84037680b17a8eccfbaa04cd265197390.tar dexon-0x-contracts-773220f84037680b17a8eccfbaa04cd265197390.tar.gz dexon-0x-contracts-773220f84037680b17a8eccfbaa04cd265197390.tar.bz2 dexon-0x-contracts-773220f84037680b17a8eccfbaa04cd265197390.tar.lz dexon-0x-contracts-773220f84037680b17a8eccfbaa04cd265197390.tar.xz dexon-0x-contracts-773220f84037680b17a8eccfbaa04cd265197390.tar.zst dexon-0x-contracts-773220f84037680b17a8eccfbaa04cd265197390.zip |
Fix link
-rw-r--r-- | packages/website/ts/components/dropdowns/developers_drop_down.tsx | 7 |
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> |