feat(ui): restore canvas functionality

This commit is contained in:
psychedelicious
2023-05-25 00:26:22 +10:00
committed by Kent Keirsey
parent 010f63a50d
commit 29c952dcf6
11 changed files with 28 additions and 543 deletions

View File

@ -38,7 +38,6 @@ export const invocationStarted = createAction<
export const invocationComplete = createAction<
BaseSocketPayload & {
data: InvocationCompleteEvent;
shouldFetchImages: boolean;
}
>('socket/invocationComplete');

View File

@ -165,7 +165,6 @@ export const setEventListeners = (arg: SetEventListenersArg) => {
const sessionId = data.graph_execution_state_id;
const { cancelType, isCancelScheduled } = getState().system;
const { shouldFetchImages } = getState().config;
// Handle scheduled cancelation
if (cancelType === 'scheduled' && isCancelScheduled) {
@ -176,7 +175,6 @@ export const setEventListeners = (arg: SetEventListenersArg) => {
invocationComplete({
data,
timestamp: getTimestamp(),
shouldFetchImages,
})
);
});