Adding user to Firebase
This commit is contained in:
parent
15261499de
commit
d7975cf0cc
|
@ -14,6 +14,7 @@ export function Signup ( props ) {
|
||||||
const[validpassword,setValidpassword] = useState(false)
|
const[validpassword,setValidpassword] = useState(false)
|
||||||
const submitHandler = (evt) => {
|
const submitHandler = (evt) => {
|
||||||
evt.preventDefault()
|
evt.preventDefault()
|
||||||
|
props.handler(useremail, password)
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect( () => {
|
useEffect( () => {
|
||||||
|
|
Loading…
Reference in New Issue