gabotorresruiz commented on code in PR #34536:
URL: https://github.com/apache/superset/pull/34536#discussion_r2254821770
##########
superset-frontend/packages/superset-ui-core/src/components/ThemeSubMenu/index.tsx:
##########
@@ -71,13 +36,13 @@ export interface ThemeSubMenuProps {
allowOSPreference?: boolean;
}
-export const ThemeSubMenu: React.FC<ThemeSubMenuProps> = ({
+export const useThemeMenuItems = ({
Review Comment:
Got it @msyavuz but If it's a hook, it should probably be in a different
folder than `/components/`
--
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]