diff --git a/compiler/forget/packages/playground/components/Editor/Output.tsx b/compiler/forget/packages/playground/components/Editor/Output.tsx index 5278a66e34..929afcd494 100644 --- a/compiler/forget/packages/playground/components/Editor/Output.tsx +++ b/compiler/forget/packages/playground/components/Editor/Output.tsx @@ -7,7 +7,7 @@ import generate from "@babel/generator"; import MonacoEditor from "@monaco-editor/react"; -import { Diagnostic, HIR, OutputKind } from "babel-plugin-react-forget"; +import { Diagnostic, HIR } from "babel-plugin-react-forget"; import prettier from "prettier"; import prettierParserBabel from "prettier/parser-babel"; import { memo, useMemo } from "react"; @@ -126,47 +126,32 @@ function Output({ store }: Props) { defaultTab="HIR" tabs={{ HIR: ( - + ), SSA: ( - + ), EliminateRedundantPhi: ( ), InferReferenceEffects: ( ), InferMutableRanges: ( ), LeaveSSA: ( ), - JS: ( - - ), + JS: , SourceMap: ( <> {compilerOutput.sourceMapUrl && ( @@ -195,13 +180,7 @@ function getSourceMapUrl(code: string, map: string): string | null { )}`; } -function TextTabContent({ - output, - kind, -}: { - output: string; - kind: OutputKind; -}) { +function TextTabContent({ output }: { output: string }) { return (