Commit 592c42a8ccb9dda839228ff66caebdb865130214

Authored by José Maria Villac Pinheiro
1 parent f58a0394
Exists in master

V.0.9.2 - Alterado para PUG e alterados logs do sistema

client/src/components/Dashboard.js
... ... @@ -2,7 +2,7 @@ import React from 'react'
2 2 import FindConsumer from './findConsumer'
3 3 import Map from './map'
4 4  
5   -const MapStart = () => {
  5 +const DashBoard = () => {
6 6 return (
7 7 <div className='App'>
8 8 <div>
... ... @@ -15,4 +15,4 @@ const MapStart = () =&gt; {
15 15 )
16 16 }
17 17  
18   -export default MapStart
  18 +export default DashBoard
... ...
client/src/components/findConsumer.js
... ... @@ -43,7 +43,7 @@ export default class FindConsumer extends Component&lt;*, State&gt; {
43 43 }
44 44  
45 45 handleChange = (selectedOption) => {
46   - console.log(selectedOption);
  46 + console.log(selectedOption.value);
47 47 this.setState({ selectedOption: selectedOption });
48 48 };
49 49 }
... ...
client/src/components/map.js
... ... @@ -8,6 +8,7 @@ export default class Map extends Component {
8 8 this.state = {}
9 9 }
10 10 render () {
  11 + console.log(this.props)
11 12 return (
12 13 <div>
13 14 <Iframe url='/map/pedro' position='absolute' width='100%' height='95%' id='mapId' allowFullScreen />
... ...