Changed color of starting running

This commit is contained in:
Valtteri Karesto
2022-06-21 09:43:29 +03:00
parent fd17f59616
commit fb5259221b

View File

@@ -137,7 +137,7 @@ const RunScript: React.FC<{ file: IFile }> = ({ file: { content, name } }) => {
setIframeCode(generateHtmlTemplate(code)); setIframeCode(generateHtmlTemplate(code));
state.scriptLogs = [ state.scriptLogs = [
...snap.scriptLogs, ...snap.scriptLogs,
{ type: "log", message: "Started running..." }, { type: "success", message: "Started running..." },
]; ];
} catch (err) { } catch (err) {
state.scriptLogs = [ state.scriptLogs = [