diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/invocationComplete.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/invocationComplete.ts index 95e6d831c0..60a3cdfedf 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/invocationComplete.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/invocationComplete.ts @@ -57,14 +57,7 @@ export const addInvocationCompleteListener = () => { graph_execution_state_id === getState().canvas.layerState.stagingArea.sessionId ) { - const [{ payload: image }] = await take( - ( - action - ): action is ReturnType => - imageMetadataReceived.fulfilled.match(action) && - action.payload.image_name === image_name - ); - dispatch(addImageToStagingArea(image)); + dispatch(addImageToStagingArea(imageDTO)); } dispatch(progressImageSet(null));