From 688d84392b81c1b48dce832c8451c231575854a4 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Tue, 12 Sep 2017 20:55:05 -0700 Subject: [PATCH] removed useless editCache set --- frontend/scenes/Document/Document.js | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/scenes/Document/Document.js b/frontend/scenes/Document/Document.js index 6b6462913..b8dbff7be 100644 --- a/frontend/scenes/Document/Document.js +++ b/frontend/scenes/Document/Document.js @@ -107,7 +107,6 @@ type Props = { onClickEdit = () => { if (!this.document) return; const url = `${this.document.url}/edit`; - this.editCache = document.text; this.props.history.push(url); };