Commit 592c42a8ccb9dda839228ff66caebdb865130214
1 parent
f58a0394
Exists in
master
V.0.9.2 - Alterado para PUG e alterados logs do sistema
Showing
3 changed files
with
4 additions
and
3 deletions
Show diff stats
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 = () => { |
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<*, State> { |
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