added area post
This commit is contained in:
@@ -37,7 +37,7 @@ export default class WalkButton extends Component {
|
||||
buttonText: "Start Capture",
|
||||
buttonColour: 'rgba(0,255,0,0.5)'
|
||||
})
|
||||
this.start();
|
||||
this.stop();
|
||||
}else{
|
||||
console.log("state false to true")
|
||||
this.setState({
|
||||
@@ -45,7 +45,7 @@ export default class WalkButton extends Component {
|
||||
buttonText: "Stop Capture",
|
||||
buttonColour: 'rgba(255,0,0,0.5)'
|
||||
})
|
||||
this.stop()
|
||||
this.start()
|
||||
}}}
|
||||
// style={sharedStyles.new}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user