diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-23 23:15:47 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-23 23:15:47 +0800 |
commit | 3563fabe8871f69799dd7c89b83ecea19951794c (patch) | |
tree | 34f0d5c6962ae0392ffcc4ec348e30de2d342ba1 /packages/website | |
parent | 1ca176e992d821f6cea366c3177c0e568c823e6c (diff) | |
download | dexon-sol-tools-3563fabe8871f69799dd7c89b83ecea19951794c.tar dexon-sol-tools-3563fabe8871f69799dd7c89b83ecea19951794c.tar.gz dexon-sol-tools-3563fabe8871f69799dd7c89b83ecea19951794c.tar.bz2 dexon-sol-tools-3563fabe8871f69799dd7c89b83ecea19951794c.tar.lz dexon-sol-tools-3563fabe8871f69799dd7c89b83ecea19951794c.tar.xz dexon-sol-tools-3563fabe8871f69799dd7c89b83ecea19951794c.tar.zst dexon-sol-tools-3563fabe8871f69799dd7c89b83ecea19951794c.zip |
Add missing keyu
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index e27a1fae2..9ef8211a9 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -379,7 +379,11 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> { {_.map(DOC_WEBSITE_PATHS_TO_KEY, (key, websitePath) => { if (!this._doesUrlInclude(websitePath)) { return ( - <Link to={websitePath} className="text-decoration-none"> + <Link + key={`drawer-menu-item-${websitePath}`} + to={websitePath} + className="text-decoration-none" + > <MenuItem className="py2"> {this.props.translate.get(key, Deco.Cap)}{' '} {this.props.translate.get(Key.Docs, Deco.Cap)} |