From 31f3d72f0155934c0b5bba396abae24f9d3cef2c Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 28 Jun 2017 21:56:29 -0700 Subject: [PATCH] Remove logging --- frontend/scenes/Document/Document.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/scenes/Document/Document.js b/frontend/scenes/Document/Document.js index e8882d91..4c019aeb 100644 --- a/frontend/scenes/Document/Document.js +++ b/frontend/scenes/Document/Document.js @@ -88,10 +88,10 @@ type Props = { // TODO: How to set loading bar on layout? } - onChange(text) { + onChange = text => { if (!this.document) return; this.document.updateData({ text }); - } + }; onCancel = () => { this.props.history.goBack(); @@ -103,10 +103,6 @@ type Props = { const isFetching = !this.document && get(this.document, 'isFetching'); const titleText = get(this.document, 'title', 'Loading'); - console.log('isEditing', isEditing); - console.log('isFetching', isFetching); - console.log('document', this.document); - return ( {titleText && }