Clear script log on running new script.
This commit is contained in:
@@ -143,7 +143,6 @@ const RunScript: React.FC<{ file: IFile }> = ({ file: { content, name } }) => {
|
||||
setIframeCode(template);
|
||||
|
||||
state.scriptLogs = [
|
||||
...snap.scriptLogs,
|
||||
{ type: "success", message: "Started running..." },
|
||||
];
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user