diff --git a/frontend/scenes/Document/Document.js b/frontend/scenes/Document/Document.js index fea42c427..6b6462913 100644 --- a/frontend/scenes/Document/Document.js +++ b/frontend/scenes/Document/Document.js @@ -152,7 +152,7 @@ type Props = { this.document.updateData({ text }, true); }; - onCancel = async () => { + onCancel = () => { let url; if (this.document && this.document.url) { url = this.document.url;