mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
lint fix
This commit is contained in:
parent
5820579237
commit
03c24ca9cb
@ -16,6 +16,7 @@ import ParamUpscalePopover from 'features/parameters/components/Upscale/ParamUps
|
|||||||
import { useIsQueueMutationInProgress } from 'features/queue/hooks/useIsQueueMutationInProgress';
|
import { useIsQueueMutationInProgress } from 'features/queue/hooks/useIsQueueMutationInProgress';
|
||||||
import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus';
|
import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus';
|
||||||
import { selectSystemSlice } from 'features/system/store/systemSlice';
|
import { selectSystemSlice } from 'features/system/store/systemSlice';
|
||||||
|
import { setActiveTab } from 'features/ui/store/uiSlice';
|
||||||
import { useGetAndLoadEmbeddedWorkflow } from 'features/workflowLibrary/hooks/useGetAndLoadEmbeddedWorkflow';
|
import { useGetAndLoadEmbeddedWorkflow } from 'features/workflowLibrary/hooks/useGetAndLoadEmbeddedWorkflow';
|
||||||
import { memo, useCallback } from 'react';
|
import { memo, useCallback } from 'react';
|
||||||
import { useHotkeys } from 'react-hotkeys-hook';
|
import { useHotkeys } from 'react-hotkeys-hook';
|
||||||
@ -30,7 +31,6 @@ import {
|
|||||||
PiRulerBold,
|
PiRulerBold,
|
||||||
} from 'react-icons/pi';
|
} from 'react-icons/pi';
|
||||||
import { useGetImageDTOQuery } from 'services/api/endpoints/images';
|
import { useGetImageDTOQuery } from 'services/api/endpoints/images';
|
||||||
import { setActiveTab } from '../../../ui/store/uiSlice';
|
|
||||||
|
|
||||||
const selectShouldDisableToolbarButtons = createSelector(
|
const selectShouldDisableToolbarButtons = createSelector(
|
||||||
selectSystemSlice,
|
selectSystemSlice,
|
||||||
|
@ -38,7 +38,7 @@ export const usePreselectedImage = (selectedImage?: {
|
|||||||
const handleSendToImg2Img = useCallback(() => {
|
const handleSendToImg2Img = useCallback(() => {
|
||||||
if (selectedImageDto) {
|
if (selectedImageDto) {
|
||||||
dispatch(iiLayerAdded(selectedImageDto));
|
dispatch(iiLayerAdded(selectedImageDto));
|
||||||
dispatch(setActiveTab("generation"))
|
dispatch(setActiveTab('generation'));
|
||||||
}
|
}
|
||||||
}, [dispatch, selectedImageDto]);
|
}, [dispatch, selectedImageDto]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user