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 (