diff --git a/src/ScriptEditor/ui/ScriptEditorRoot.tsx b/src/ScriptEditor/ui/ScriptEditorRoot.tsx index f74486f94..276613a18 100644 --- a/src/ScriptEditor/ui/ScriptEditorRoot.tsx +++ b/src/ScriptEditor/ui/ScriptEditorRoot.tsx @@ -240,7 +240,7 @@ export function Root(props: IProps): React.ReactElement { async function updateRAM(newCode: string): Promise { if (currentScript != null && currentScript.fileName.endsWith(".txt")) { - debouncedSetRAM("", []); + debouncedSetRAM("N/A", [["N/A", ""]]); return; } setUpdatingRam(true);