Add missing keyu
This commit is contained in:
@@ -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)}
|
||||||
|
Reference in New Issue
Block a user