chore(ui): lint

This commit is contained in:
psychedelicious 2023-09-28 12:35:39 +10:00
parent de04a5f441
commit a0bd8c638e
2 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ export const addControlNetImageProcessedListener = () => {
if (error instanceof Object) {
if ('data' in error && 'status' in error) {
if (error.status === 403) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const detail = (error.data as any)?.detail || 'Unknown Error';
dispatch(
addToast({

View File

@ -51,6 +51,7 @@ export const addUpscaleRequestedListener = () => {
if (error instanceof Object) {
if ('data' in error && 'status' in error) {
if (error.status === 403) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const detail = (error.data as any)?.detail || 'Unknown Error';
dispatch(
addToast({