1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-06 14:10:06 +00:00

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

View File

@@ -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>(