From 89203aefefafcae19cab54bd03ebbe12ba3c15bb Mon Sep 17 00:00:00 2001 From: cho Date: Mon, 11 Mar 2024 12:03:32 -0700 Subject: [PATCH] use spaces instead of tab in the last indentation to stay consistent with the inconsistent code style for switch/case --- web/scripts/api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/scripts/api.js b/web/scripts/api.js index adc46e850..8ecbbb41c 100644 --- a/web/scripts/api.js +++ b/web/scripts/api.js @@ -142,9 +142,9 @@ class ComfyApi extends EventTarget { case "execution_cached": this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data })); break; - case "execution_interrupted": - this.dispatchEvent(new CustomEvent("execution_interrupted", { detail: msg.data })); - break; + case "execution_interrupted": + this.dispatchEvent(new CustomEvent("execution_interrupted", { detail: msg.data })); + break; default: if (this.#registered.has(msg.type)) { this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));