From 9781154b53b0387fa1a23559811d6594f93de970 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 12 Sep 2023 10:36:15 +0000 Subject: [PATCH] Add Set Valid Username state --- src/pages/Signup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/Signup.js b/src/pages/Signup.js index 6ca4ef0..b23b0b1 100644 --- a/src/pages/Signup.js +++ b/src/pages/Signup.js @@ -7,6 +7,7 @@ import {useState, useEffect} from 'react'; export function Signup ( props ) { const[username,setUsername] = useState('') + const[validusername,setValidusername] = useState(false) const[useremail,setUseremail] = useState('') const[password,setPassword] = useState('')