Javascript – Is there something wrong with my switch statement?
The function handleForm is triggered when the button is clicked, and it is supose to check all the inputs. const [errorMessage, setErrorMessage] = useState({ lastName: "", firstName: "", lastNameHiragana: "", firstNameHiragana: "", birthday: "", sex: "", telephone: "", email: "",…