From 6461f4758ddc749280048347b38f42fc329d9aa2 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Thu, 8 Aug 2024 15:07:58 -0400 Subject: [PATCH] lint fix --- .../listenerMiddleware/listeners/promptChanged.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/promptChanged.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/promptChanged.ts index 74e4211255..098a92de41 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/promptChanged.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/promptChanged.ts @@ -11,10 +11,10 @@ import { promptsChanged, } from 'features/dynamicPrompts/store/dynamicPromptsSlice'; import { getShouldProcessPrompt } from 'features/dynamicPrompts/util/getShouldProcessPrompt'; +import { getPresetModifiedPrompts } from 'features/nodes/util/graph/graphBuilderUtils'; +import { activeStylePresetChanged } from 'features/stylePresets/store/stylePresetSlice'; import { utilitiesApi } from 'services/api/endpoints/utilities'; import { socketConnected } from 'services/events/actions'; -import { getPresetModifiedPrompts } from '../../../../../features/nodes/util/graph/graphBuilderUtils'; -import { activeStylePresetChanged } from '../../../../../features/stylePresets/store/stylePresetSlice'; const matcher = isAnyOf( positivePromptChanged, @@ -31,7 +31,7 @@ export const addDynamicPromptsListener = (startAppListening: AppStartListening) effect: async (action, { dispatch, getState, cancelActiveListeners, delay }) => { cancelActiveListeners(); const state = getState(); - const { positivePrompt } = getPresetModifiedPrompts(state) + const { positivePrompt } = getPresetModifiedPrompts(state); const { maxPrompts } = state.dynamicPrompts; if (state.config.disabledFeatures.includes('dynamicPrompting')) {