From c194667b6f019662ed3abfa37bb4a3fe9126001f Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Tue, 12 Sep 2017 20:52:17 -0700 Subject: [PATCH] removed useless async --- frontend/scenes/Document/Document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;