From 06cbe36bb987aeeab16d292c3b1375a8cfa55985 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Mon, 1 Jul 2024 15:33:36 -0400 Subject: [PATCH] lint fix --- invokeai/frontend/web/src/services/api/authToastMiddleware.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/invokeai/frontend/web/src/services/api/authToastMiddleware.ts b/invokeai/frontend/web/src/services/api/authToastMiddleware.ts index eb2ebb62f35..fd8483e8b29 100644 --- a/invokeai/frontend/web/src/services/api/authToastMiddleware.ts +++ b/invokeai/frontend/web/src/services/api/authToastMiddleware.ts @@ -30,7 +30,6 @@ export const authToastMiddleware: Middleware = () => (next) => (action) => { if (endpointName === 'getImageDTO') { // do not show toast if problem is image access return next(action); - } const customMessage = parsed.payload.data.detail !== 'Forbidden' ? parsed.payload.data.detail : undefined;