diff --git a/compiler/apps/playground/components/Editor/Output.tsx b/compiler/apps/playground/components/Editor/Output.tsx index 128fcca83a932..3b2b26c8804e7 100644 --- a/compiler/apps/playground/components/Editor/Output.tsx +++ b/compiler/apps/playground/components/Editor/Output.tsx @@ -104,7 +104,7 @@ async function tabify(source: string, compilerOutput: CompilerOutput) { passName, ); @@ -195,7 +195,7 @@ function Output({ store, compilerOutput }: Props) { if (result.kind === "hir" || result.kind === "reactive") { currResult += `function ${result.fnName}\n\n${result.value}`; } - if (currResult !== lastResult) { + if (passName !== "HIR" && currResult !== lastResult) { changedPasses.add(passName); } lastResult = currResult;