fix(log): fixed switching runtime

This commit is contained in:
Yury Shkoda
2023-04-11 16:10:52 +03:00
parent 02e2b060f9
commit c7a73991a7
3 changed files with 21 additions and 14 deletions
@@ -42,7 +42,7 @@ const useEditor = ({
const [prevFileContent, setPrevFileContent] = useStateWithCallback('')
const [fileContent, setFileContent] = useState('')
const [log, setLog] = useState<LogObject>()
const [log, setLog] = useState<LogObject | string>()
const [webout, setWebout] = useState('')
const [runTimes, setRunTimes] = useState<string[]>([])
const [selectedRunTime, setSelectedRunTime] = useState<RunTimeType>(