Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

chore(ui): import segment tabs and Field from their modules

Josh Corbett665da2ce2987
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryStackedLayout.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryStackedLayout.tsx
index c708af60df..cb238fcb89 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryStackedLayout.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryStackedLayout.tsx
@@ -4,7 +4,7 @@ import {
GALLERY_BOARD_PANEL_MIN_HEIGHT_PX,
GALLERY_MIN_GRID_HEIGHT_PX,
} from '@features/gallery/core/settings';
-import { segmentTabsPanelId, segmentTabsTabId } from '@platform/ui';
+import { segmentTabsPanelId, segmentTabsTabId } from '@platform/ui/SegmentTabs';
import { useCallback, useId, useMemo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWideLayout.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWideLayout.tsx
index e7a5fd6330..5e70eac747 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWideLayout.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWideLayout.tsx
@@ -1,6 +1,6 @@
import { Box, Flex, HStack, Spacer, Stack } from '@chakra-ui/react';
import { GALLERY_BOARD_PANEL_MAX_WIDTH_PX, GALLERY_BOARD_PANEL_MIN_WIDTH_PX } from '@features/gallery/core/settings';
-import { segmentTabsPanelId, segmentTabsTabId } from '@platform/ui';
+import { segmentTabsPanelId, segmentTabsTabId } from '@platform/ui/SegmentTabs';
import { useCallback, useId, useState } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/TriggerPhrasesEditor.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/TriggerPhrasesEditor.tsx
index bc7d4d5ecd..bf5c6121b3 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/TriggerPhrasesEditor.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/TriggerPhrasesEditor.tsx
@@ -5,7 +5,7 @@ import { updateModel } from '@features/models/data/api';
import { replaceModelInStore } from '@features/models/data/modelsStore';
import { useScopedAction } from '@platform/react/useScopedAction';
import { assertAccountScopeCurrent } from '@platform/state/accountLifecycle';
-import { Field } from '@platform/ui';
+import { Field } from '@platform/ui/Field';
import { memo, useState } from 'react';
import { useTranslation } from 'react-i18next';