From 53332a2bb2aabbc7faef8991fe5e14fe40870232 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 12 Sep 2023 10:07:46 +0000 Subject: [PATCH] Setup State for checking credentials --- src/pages/Signup.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/Signup.js b/src/pages/Signup.js index fa1e547..56eff76 100644 --- a/src/pages/Signup.js +++ b/src/pages/Signup.js @@ -3,9 +3,12 @@ import Container from 'react-bootstrap/Container'; import Row from 'react-bootstrap/Row'; import Col from 'react-bootstrap/Col'; import Button from "react-bootstrap/Button" +import {useState, useEffect} from 'react'; export function Signup ( props ) { - + const[username,setUsername] = useState('') + const[useremail,setUseremail] = useState('') + const[password,setPassword] = useState('') const submitHandler = (evt) => { evt.preventDefault() }