const handleRegistration = (values) => { console.log(values); fireRef .doc() .set(values) .catch((err) => { console.log(err); }); };