Skip to content

Commit 58e0f80

Browse files
hipsterusernamepsychedelicious
authored andcommitted
Lint
1 parent 8b8e29d commit 58e0f80

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/UpscalingLaunchpadPanel.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
33
import { useImageUploadButton } from 'common/hooks/useImageUploadButton';
44
import { setUpscaleInitialImageDndTarget } from 'features/dnd/dnd';
55
import { DndDropTarget } from 'features/dnd/DndDropTarget';
6-
import { DndImage } from 'features/dnd/DndImage';
7-
import { DndImageIcon } from 'features/dnd/DndImageIcon';
8-
import { selectUpscaleInitialImage, upscaleInitialImageChanged, creativityChanged, structureChanged, selectCreativity, selectStructure } from 'features/parameters/store/upscaleSlice';
6+
import { creativityChanged, selectCreativity, selectStructure,selectUpscaleInitialImage, structureChanged, upscaleInitialImageChanged } from 'features/parameters/store/upscaleSlice';
97
import { memo, useCallback, useMemo } from 'react';
108
import { useTranslation } from 'react-i18next';
11-
import { PiArrowCounterClockwiseBold, PiImageBold, PiUploadBold, PiShieldCheckBold, PiScalesBold, PiPaletteBold, PiSparkleBold } from 'react-icons/pi';
9+
import { PiImageBold, PiPaletteBold, PiScalesBold, PiShieldCheckBold, PiSparkleBold,PiUploadBold } from 'react-icons/pi';
1210
import type { ImageDTO } from 'services/api/types';
1311

1412
import { LaunchpadButton } from './LaunchpadButton';
@@ -29,10 +27,6 @@ export const UpscalingLaunchpadPanel = memo(() => {
2927
[dispatch]
3028
);
3129

32-
const onReset = useCallback(() => {
33-
dispatch(upscaleInitialImageChanged(null));
34-
}, [dispatch]);
35-
3630
const uploadApi = useImageUploadButton({ allowMultiple: false, onUpload });
3731

3832
// Preset button handlers

0 commit comments

Comments
 (0)