From 592c42a8ccb9dda839228ff66caebdb865130214 Mon Sep 17 00:00:00 2001 From: José Maria Villac Pinheiro Date: Sun, 16 Sep 2018 18:16:39 -0300 Subject: [PATCH] V.0.9.2 - Alterado para PUG e alterados logs do sistema --- client/src/components/Dashboard.js | 4 ++-- client/src/components/findConsumer.js | 2 +- client/src/components/map.js | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/components/Dashboard.js b/client/src/components/Dashboard.js index 33abb09..32b99b7 100644 --- a/client/src/components/Dashboard.js +++ b/client/src/components/Dashboard.js @@ -2,7 +2,7 @@ import React from 'react' import FindConsumer from './findConsumer' import Map from './map' -const MapStart = () => { +const DashBoard = () => { return (
@@ -15,4 +15,4 @@ const MapStart = () => { ) } -export default MapStart +export default DashBoard diff --git a/client/src/components/findConsumer.js b/client/src/components/findConsumer.js index 9b943f8..ede0da8 100644 --- a/client/src/components/findConsumer.js +++ b/client/src/components/findConsumer.js @@ -43,7 +43,7 @@ export default class FindConsumer extends Component<*, State> { } handleChange = (selectedOption) => { - console.log(selectedOption); + console.log(selectedOption.value); this.setState({ selectedOption: selectedOption }); }; } diff --git a/client/src/components/map.js b/client/src/components/map.js index 0c934fa..47b2faf 100644 --- a/client/src/components/map.js +++ b/client/src/components/map.js @@ -8,6 +8,7 @@ export default class Map extends Component { this.state = {} } render () { + console.log(this.props) return (