Lint current problems & fix ignore paths

This commit is contained in:
Martin Fournier
2021-12-19 13:04:34 -05:00
parent 92e8b42d18
commit 3b99da8474
9 changed files with 31 additions and 10 deletions

View File

@@ -104,8 +104,8 @@ let currentScript = {} as openScript; // Script currently being viewed
export function Root(props: IProps): React.ReactElement {
const editorRef = useRef<IStandaloneCodeEditor | null>(null);
const monacoRef = useRef<Monaco | null>(null);
const [filename, setFilename] = useState(props.filename);
const [code, setCode] = useState<string>(props.code);
const [filename] = useState(props.filename);
const [code] = useState<string>(props.code);
const [decorations, setDecorations] = useState<string[]>([]);
const [ram, setRAM] = useState("RAM: ???");
const [updatingRam, setUpdatingRam] = useState(false);