msyavuz commented on code in PR #34536:
URL: https://github.com/apache/superset/pull/34536#discussion_r2254861931
##########
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:
Yeah, i see your point but i had to do a similar change and i couldn't find
a good place to put these hooks that return menu items
--
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]