add commit to hopefully prevent #195 from happening again

This commit is contained in:
Cassie Tarakajian 2016-11-10 12:26:35 -05:00
parent b3ac90a4c6
commit c959aec6a9

View file

@ -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);
}
}}
>