diff --git a/frontend/src/components/editor/PreviewPane.tsx b/frontend/src/components/editor/PreviewPane.tsx index d40992d..d1301ca 100644 --- a/frontend/src/components/editor/PreviewPane.tsx +++ b/frontend/src/components/editor/PreviewPane.tsx @@ -2,12 +2,11 @@ import { useEditorStore } from "@/stores/editorStore"; import { renderMicron } from "./micronRenderer"; import { cn } from "@/lib/utils"; -type PreviewMode = "ascii" | "micron" | "raw" | "script"; +type PreviewMode = "micron" | "raw" | "script"; export default function PreviewPane() { const previewMode = useEditorStore((s) => s.previewMode); const setPreviewMode = useEditorStore((s) => s.setPreviewMode); - const compiledAscii = useEditorStore((s) => s.compiledAscii); const compiledMicron = useEditorStore((s) => s.compiledMicron); const compiledScript = useEditorStore((s) => s.compiledScript); const isDynamic = useEditorStore((s) => s.isDynamic); @@ -15,7 +14,6 @@ export default function PreviewPane() { const compileError = useEditorStore((s) => s.compileError); const tabs: { value: PreviewMode; label: string; show: boolean }[] = [ - { value: "ascii", label: "ASCII", show: true }, { value: "micron", label: "Micron", show: true }, { value: "raw", label: "Raw", show: true }, { value: "script", label: "Script", show: isDynamic }, @@ -60,15 +58,7 @@ export default function PreviewPane() {
- {compiledAscii || (
-
- ASCII preview will appear hereā¦
-
- )}
-
- ) : previewMode === "micron" ? (
+ {previewMode === "micron" ? (
compiledMicron ? (