+
+ {label}
+
+ {description}
+
+
+
+ );
+ }
+);
+
+AddNodePopoverSelectItem.displayName = 'AddNodePopoverSelectItem';
diff --git a/invokeai/frontend/web/src/features/nodes/components/flow/panels/BottomLeftPanel/ViewportControls.tsx b/invokeai/frontend/web/src/features/nodes/components/flow/panels/BottomLeftPanel/ViewportControls.tsx
index 8e4f2487be..260655723e 100644
--- a/invokeai/frontend/web/src/features/nodes/components/flow/panels/BottomLeftPanel/ViewportControls.tsx
+++ b/invokeai/frontend/web/src/features/nodes/components/flow/panels/BottomLeftPanel/ViewportControls.tsx
@@ -5,14 +5,14 @@ import { memo, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import {
FaExpand,
- FaInfo,
+ // FaInfo,
FaMapMarkerAlt,
FaMinus,
FaPlus,
} from 'react-icons/fa';
import { useReactFlow } from 'reactflow';
import {
- shouldShowFieldTypeLegendChanged,
+ // shouldShowFieldTypeLegendChanged,
shouldShowMinimapPanelChanged,
} from 'features/nodes/store/nodesSlice';
@@ -20,9 +20,9 @@ const ViewportControls = () => {
const { t } = useTranslation();
const { zoomIn, zoomOut, fitView } = useReactFlow();
const dispatch = useAppDispatch();
- const shouldShowFieldTypeLegend = useAppSelector(
- (state) => state.nodes.shouldShowFieldTypeLegend
- );
+ // const shouldShowFieldTypeLegend = useAppSelector(
+ // (state) => state.nodes.shouldShowFieldTypeLegend
+ // );
const shouldShowMinimapPanel = useAppSelector(
(state) => state.nodes.shouldShowMinimapPanel
);
@@ -39,9 +39,9 @@ const ViewportControls = () => {
fitView();
}, [fitView]);
- const handleClickedToggleFieldTypeLegend = useCallback(() => {
- dispatch(shouldShowFieldTypeLegendChanged(!shouldShowFieldTypeLegend));
- }, [shouldShowFieldTypeLegend, dispatch]);
+ // const handleClickedToggleFieldTypeLegend = useCallback(() => {
+ // dispatch(shouldShowFieldTypeLegendChanged(!shouldShowFieldTypeLegend));
+ // }, [shouldShowFieldTypeLegend, dispatch]);
const handleClickedToggleMiniMapPanel = useCallback(() => {
dispatch(shouldShowMinimapPanelChanged(!shouldShowMinimapPanel));
@@ -70,7 +70,7 @@ const ViewportControls = () => {
icon={