aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-23 23:15:47 +0800
committerFabio Berger <me@fabioberger.com>2018-08-23 23:15:47 +0800
commit3563fabe8871f69799dd7c89b83ecea19951794c (patch)
tree34f0d5c6962ae0392ffcc4ec348e30de2d342ba1 /packages/website/ts/components
parent1ca176e992d821f6cea366c3177c0e568c823e6c (diff)
downloaddexon-0x-contracts-3563fabe8871f69799dd7c89b83ecea19951794c.tar.gz
dexon-0x-contracts-3563fabe8871f69799dd7c89b83ecea19951794c.tar.zst
dexon-0x-contracts-3563fabe8871f69799dd7c89b83ecea19951794c.zip
Add missing keyu
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/top_bar/top_bar.tsx6
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)}