Remove usage of == and !=

This commit is contained in:
Simon Ser 2024-10-14 00:56:18 +02:00
parent 205a617c51
commit b67cd10c64
21 changed files with 79 additions and 78 deletions

View file

@ -15,7 +15,7 @@ export default class RegisterForm extends Component {
handleInput(event) {
let target = event.target;
let value = target.type == "checkbox" ? target.checked : target.value;
let value = target.type === "checkbox" ? target.checked : target.value;
this.setState({ [target.name]: value });
}