jscheffl commented on code in PR #54305:
URL: https://github.com/apache/airflow/pull/54305#discussion_r2265345945


##########
airflow-core/src/airflow/ui/src/layouts/Nav/PluginMenuItem.tsx:
##########
@@ -23,19 +23,31 @@ import { RiArchiveStackLine } from "react-icons/ri";
 import { Link as RouterLink } from "react-router-dom";
 
 import type { ExternalViewResponse } from "openapi/requests/types.gen";
+import { useColorMode } from "src/context/colorMode";
 import type { NavItemResponse } from "src/utils/types";
 
 import { NavButton } from "./NavButton";
 
 type Props = { readonly topLevel?: boolean } & NavItemResponse;
 
-export const PluginMenuItem = ({ icon, name, topLevel = false, url_route: 
urlRoute, ...rest }: Props) => {
+export const PluginMenuItem = ({
+  icon,
+  // eslint-disable-next-line @typescript-eslint/naming-convention
+  icon_dark_mode,

Review Comment:
   Good hint, did not know about this trick! This made it happy! Thanks!



-- 
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]

Reply via email to