Fix to renaming

This commit is contained in:
Jori Lallo
2017-08-29 00:09:54 -07:00
parent a1b239003c
commit e0d0f73760

View File

@ -38,7 +38,7 @@ type Props = {
} }
if (confirm(msg)) { if (confirm(msg)) {
await this.props.documents.delete(); await this.props.document.delete();
this.props.history.push(this.props.document.collection.url); this.props.history.push(this.props.document.collection.url);
} }
}; };