ayanginet commented on a change in pull request #13361:
URL: https://github.com/apache/superset/pull/13361#discussion_r584877081
##########
File path: superset-frontend/src/dashboard/components/menu/PopoverDropdown.tsx
##########
@@ -75,20 +71,30 @@ const MenuItem = styled(Menu.Item)`
}
`;
-class PopoverDropdown extends React.PureComponent {
- constructor(props) {
+interface HandleSelectProps {
+ key: any;
Review comment:
I tried to look for when the `key` is used to determine the type.
Likely, this is used by antd and the type is `React.Key`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]