etr2460 commented on a change in pull request #18989:
URL: https://github.com/apache/superset/pull/18989#discussion_r817896122
##########
File path: superset-frontend/src/views/components/Menu.tsx
##########
@@ -237,7 +237,7 @@ export function Menu({
}
return (
<SubMenu
- key={index}
+ key={`${index} - ${label}`}
Review comment:
if these are guaranteed to be unique, let's just use the label here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]