Revert "feat(ui): add warning socket event handling"

This reverts commit e7a61e631a42190e4b64e0d5e22771c669c5b30c.
This commit is contained in:
psychedelicious
2023-06-13 22:00:45 +10:00
parent b51e9a6bdb
commit e0c998d192
8 changed files with 0 additions and 80 deletions

View File

@ -23,7 +23,6 @@ import {
appSocketInvocationComplete,
appSocketInvocationError,
appSocketInvocationStarted,
appSocketInvocationWarning,
appSocketSubscribed,
appSocketUnsubscribed,
} from 'services/events/actions';
@ -335,20 +334,6 @@ export const systemSlice = createSlice({
);
});
/**
* Invocation Warning
*/
builder.addCase(appSocketInvocationWarning, (state, action) => {
const { data } = action.payload;
state.toastQueue.push(
makeToast({
title: t('toast.serverWarning'),
description: data.warning,
status: 'warning',
})
);
});
/**
* Graph Execution State Complete
*/