0.54 again

This commit is contained in:
Olivier Gagnon
2021-09-20 17:26:47 -04:00
parent bb4de3f62c
commit 5e48530e14
8 changed files with 4904 additions and 9 deletions
+2 -1
View File
@@ -85,7 +85,8 @@ export function Root(props: IProps): React.ReactElement {
// store the last known state in case we need to restart without nano.
useEffect(() => {
if (props.filename === "") return;
if (props.filename === undefined) return;
console.log("setting to " + props.filename);
lastFilename = props.filename;
lastCode = props.code;
lastPosition = null;