Closed mbashiq closed 6 years ago
<ToggleSwitch isOn={this.state.toggle} />
When I change the toggle state to true once all the components are rendered it doesn't update the toggle button to true
My code for changong the toggle state : this.setState({ toggle: true })
this.setState({ toggle: true })
+1
<ToggleSwitch isOn={this.state.toggle} />
When I change the toggle state to true once all the components are rendered it doesn't update the toggle button to true
My code for changong the toggle state :
this.setState({ toggle: true })