Add missing keyu

This commit is contained in:
Fabio Berger
2018-08-23 16:15:47 +01:00
parent 1ca176e992
commit 3563fabe88

View File

@@ -379,7 +379,11 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
{_.map(DOC_WEBSITE_PATHS_TO_KEY, (key, websitePath) => { {_.map(DOC_WEBSITE_PATHS_TO_KEY, (key, websitePath) => {
if (!this._doesUrlInclude(websitePath)) { if (!this._doesUrlInclude(websitePath)) {
return ( return (
<Link to={websitePath} className="text-decoration-none"> <Link
key={`drawer-menu-item-${websitePath}`}
to={websitePath}
className="text-decoration-none"
>
<MenuItem className="py2"> <MenuItem className="py2">
{this.props.translate.get(key, Deco.Cap)}{' '} {this.props.translate.get(key, Deco.Cap)}{' '}
{this.props.translate.get(Key.Docs, Deco.Cap)} {this.props.translate.get(Key.Docs, Deco.Cap)}