Updated Switch to return boolean instead of event
• Updated: - Switch to return boolean instead of event - all components usage
This commit is contained in:
@@ -71,8 +71,8 @@ class EditProfileModal extends ImmutablePureComponent {
|
||||
this.setState({ bioValue: value })
|
||||
}
|
||||
|
||||
handleLockedChange = ({ target }) => {
|
||||
this.setState({ locked: target.checked })
|
||||
handleLockedChange = (locked) => {
|
||||
this.setState({ locked })
|
||||
}
|
||||
|
||||
handleOnClose = () => {
|
||||
|
||||
Reference in New Issue
Block a user