From b0c66b0a1daf352ddba320bf75552d6c862713d2 Mon Sep 17 00:00:00 2001 From: Caio Cabral Date: Thu, 31 Oct 2024 15:05:43 -0400 Subject: [PATCH] fix: error in login on console --- Client/src/Pages/Auth/Register/StepThree/index.jsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Client/src/Pages/Auth/Register/StepThree/index.jsx b/Client/src/Pages/Auth/Register/StepThree/index.jsx index 8bdd88ef8..90825f1f7 100644 --- a/Client/src/Pages/Auth/Register/StepThree/index.jsx +++ b/Client/src/Pages/Auth/Register/StepThree/index.jsx @@ -8,10 +8,7 @@ import Check from "../../../../Components/Check/Check"; import { useValidatePassword } from "../../hooks/useValidatePassword"; StepThree.propTypes = { - form: PropTypes.object, - errors: PropTypes.object, onSubmit: PropTypes.func, - /* onChange: PropTypes.func, */ onBack: PropTypes.func, }; @@ -19,10 +16,7 @@ StepThree.propTypes = { * Renders the third step of the sign up process. * * @param {Object} props - * @param {Object} props.form - Form state object. - * @param {Object} props.errors - Object containing form validation errors. * @param {Function} props.onSubmit - Callback function to handle form submission. - * @param {Function} props.onChange - Callback function to handle form input changes. * @param {Function} props.onBack - Callback function to handle "Back" button click. * @returns {JSX.Element} */ @@ -37,7 +31,6 @@ function StepThree({ onSubmit, onBack }) { }, []); const { handleChange, feedbacks, form, errors } = useValidatePassword(); - return ( <>