Show N/A when editing a txt file

This commit is contained in:
nickofolas 2022-01-17 16:44:55 -06:00
parent c41cd68a8d
commit a9314f2447

@ -240,7 +240,7 @@ export function Root(props: IProps): React.ReactElement {
async function updateRAM(newCode: string): Promise<void> {
if (currentScript != null && currentScript.fileName.endsWith(".txt")) {
debouncedSetRAM("", []);
debouncedSetRAM("N/A", [["N/A", ""]]);
return;
}
setUpdatingRam(true);