From 6138257a893ba657dff66d7a7ce449f1d5833132 Mon Sep 17 00:00:00 2001 From: orangemug Date: Tue, 10 Apr 2018 12:47:00 +0100 Subject: [PATCH] Remove logging. --- src/components/inputs/StringInput.jsx | 3 --- src/components/modals/AddModal.jsx | 1 - 2 files changed, 4 deletions(-) diff --git a/src/components/inputs/StringInput.jsx b/src/components/inputs/StringInput.jsx index 2f7bf1f..6987b3c 100644 --- a/src/components/inputs/StringInput.jsx +++ b/src/components/inputs/StringInput.jsx @@ -19,7 +19,6 @@ class StringInput extends React.Component { } componentWillReceiveProps(nextProps) { - console.log("@@ STRING componentWillReceiveProps", JSON.stringify(nextProps)) this.setState({ value: nextProps.value || '' }) } @@ -48,13 +47,11 @@ class StringInput extends React.Component { value: this.state.value, placeholder: this.props.default, onChange: e => { - console.log("@@ STRING CHANGE", JSON.stringify(e.target.value)); this.setState({ value: e.target.value }) }, onBlur: () => { - console.log("@@ STRING BLUR", JSON.stringify(this.state.value), "props:", JSON.stringify(this.props.value)); if(this.state.value!==this.props.value) this.props.onChange(this.state.value) } }); diff --git a/src/components/modals/AddModal.jsx b/src/components/modals/AddModal.jsx index 84cb662..feb8343 100644 --- a/src/components/modals/AddModal.jsx +++ b/src/components/modals/AddModal.jsx @@ -125,7 +125,6 @@ class AddModal extends React.Component { value={this.state.id} wdKey="add-layer.layer-id" onChange={v => { - console.log("@@ upper_id_change", JSON.stringify(v)) this.setState({ id: v }) }} />