diff --git a/client/modules/IDE/components/FileNode.jsx b/client/modules/IDE/components/FileNode.jsx index b295e98c..6d5c7591 100644 --- a/client/modules/IDE/components/FileNode.jsx +++ b/client/modules/IDE/components/FileNode.jsx @@ -167,7 +167,7 @@ export class FileNode extends React.Component { if (window.confirm(`Are you sure you want to delete ${this.props.name}?`)) { this.isDeleting = true; this.props.resetSelectedFile(this.props.id); - setTimeout(() => this.props.deleteFile(this.props.id, this.props.parentId), 0); + setTimeout(() => this.props.deleteFile(this.props.id, this.props.parentId), 100); } }} >