diff --git a/src/components/CreateAccount.tsx b/src/components/CreateAccount.tsx index eaef3a2..1317d6c 100644 --- a/src/components/CreateAccount.tsx +++ b/src/components/CreateAccount.tsx @@ -4,6 +4,11 @@ function FinancialLiteracyForm(props: any) { const [email, setEmail] = useState("") const [password, setPassword] = useState("") + const [showPassword, setShowPassword] = useState(false); + + const togglePasswordVisibility = () => { + setShowPassword(!showPassword); + }; return (
@@ -67,7 +72,7 @@ function FinancialLiteracyForm(props: any) {