diff options
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/components/portal/portal.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index e35e99642..a04c0878f 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -320,7 +320,13 @@ export class Portal extends React.Component<PortalProps, PortalState> { return ( <Switch> {_.map(accountManagementItems, item => { - return <Route path={item.pathName} render={this._renderAccountManagementItem.bind(this, item)} />; + return ( + <Route + key={item.pathName} + path={item.pathName} + render={this._renderAccountManagementItem.bind(this, item)} + /> + ); })}} <Route render={this._renderNotFoundMessage.bind(this)} /> </Switch> |