diff --git a/compiler/apps/playground/components/Editor/Output.tsx b/compiler/apps/playground/components/Editor/Output.tsx index 905a040d52..adfdf0d675 100644 --- a/compiler/apps/playground/components/Editor/Output.tsx +++ b/compiler/apps/playground/components/Editor/Output.tsx @@ -224,7 +224,7 @@ function TextTabContent({ diff: string | null; showInfoPanel: boolean; }) { - const [value, setValue] = useState(output); + const [diffMode, setDiffMode] = useState(false); return ( // Restrict MonacoEditor's height, since the config autoLayout:true // will grow the editor to fit within parent element @@ -234,11 +234,9 @@ function TextTabContent({ {diff != null && output !== diff ? (