Changed color of starting running
This commit is contained in:
@@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user