diff --git a/src/pages/Signup.js b/src/pages/Signup.js index 727c3e7..e70b395 100644 --- a/src/pages/Signup.js +++ b/src/pages/Signup.js @@ -14,6 +14,7 @@ export function Signup ( props ) { const[validpassword,setValidpassword] = useState(false) const submitHandler = (evt) => { evt.preventDefault() + props.handler(useremail, password) } useEffect( () => {