Setup State for checking credentials

This commit is contained in:
Ray 2023-09-12 10:07:46 +00:00 committed by GitHub
parent 90fd5583fd
commit 53332a2bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -3,9 +3,12 @@ import Container from 'react-bootstrap/Container';
import Row from 'react-bootstrap/Row'; import Row from 'react-bootstrap/Row';
import Col from 'react-bootstrap/Col'; import Col from 'react-bootstrap/Col';
import Button from "react-bootstrap/Button" import Button from "react-bootstrap/Button"
import {useState, useEffect} from 'react';
export function Signup ( props ) { export function Signup ( props ) {
const[username,setUsername] = useState('')
const[useremail,setUseremail] = useState('')
const[password,setPassword] = useState('')
const submitHandler = (evt) => { const submitHandler = (evt) => {
evt.preventDefault() evt.preventDefault()
} }