Skip to content

Commit f2d26a3

Browse files
chore(ui): move useCopyImageToClipboard to common/hooks/
1 parent ddb65e6 commit f2d26a3

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

invokeai/frontend/web/src/features/ui/hooks/useCopyImageToClipboard.ts renamed to invokeai/frontend/web/src/common/hooks/useCopyImageToClipboard.ts

File renamed without changes.

invokeai/frontend/web/src/features/canvas/components/IAICanvasToolbar/IAICanvasToolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
LAYER_NAMES_DICT,
2626
} from 'features/canvas/store/canvasTypes';
2727
import { getCanvasBaseLayer } from 'features/canvas/util/konvaInstanceProvider';
28-
import { useCopyImageToClipboard } from 'features/ui/hooks/useCopyImageToClipboard';
28+
import { useCopyImageToClipboard } from 'common/hooks/useCopyImageToClipboard';
2929
import { isEqual } from 'lodash-es';
3030
import { memo, useCallback } from 'react';
3131
import { useHotkeys } from 'react-hotkeys-hook';

invokeai/frontend/web/src/features/gallery/components/ImageContextMenu/SingleSelectionMenuItems.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { workflowLoadRequested } from 'features/nodes/store/actions';
1313
import { useRecallParameters } from 'features/parameters/hooks/useRecallParameters';
1414
import { initialImageSelected } from 'features/parameters/store/actions';
1515
import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus';
16-
import { useCopyImageToClipboard } from 'features/ui/hooks/useCopyImageToClipboard';
16+
import { useCopyImageToClipboard } from 'common/hooks/useCopyImageToClipboard';
1717
import { setActiveTab } from 'features/ui/store/uiSlice';
1818
import { memo, useCallback } from 'react';
1919
import { flushSync } from 'react-dom';

0 commit comments

Comments
 (0)