mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Revert "feat(ui): add warning socket event handling"
This reverts commit e7a61e631a42190e4b64e0d5e22771c669c5b30c.
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user