add commit to hopefully prevent #195 from happening again
This commit is contained in:
parent
b3ac90a4c6
commit
c959aec6a9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue