Compare commits
No commits in common. "2f5e91aa1109608eca0bfe994e7fe9c753f896d7" and "bcb273d66318b223c48d499b4511858888f1a482" have entirely different histories.
2f5e91aa11
...
bcb273d663
@ -37,7 +37,6 @@ const ResetPasswordPage = () => {
|
||||
const [searchParams] = useSearchParams();
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [hidepass, setHidepass] = useState(true);
|
||||
const [hidepass1, setHidepass1] = useState(true);
|
||||
|
||||
const token = searchParams.get("token");
|
||||
const navigate = useNavigate();
|
||||
@ -145,7 +144,7 @@ const ResetPasswordPage = () => {
|
||||
</div>
|
||||
<div className=" input-group input-group-merge">
|
||||
<input
|
||||
type={hidepass1 ? "password" : "text"}
|
||||
type={hidepass ? "password" : "text"}
|
||||
autoComplete="true"
|
||||
id="password"
|
||||
className="form-control"
|
||||
@ -156,9 +155,9 @@ const ResetPasswordPage = () => {
|
||||
/>
|
||||
<span
|
||||
className="input-group-text cursor-pointer"
|
||||
onClick={() => setHidepass1(!hidepass1)}
|
||||
onClick={() => setHidepass(!hidepass)}
|
||||
>
|
||||
{hidepass1 ? (
|
||||
{hidepass ? (
|
||||
<i className="bx bx-hide"></i>
|
||||
) : (
|
||||
<i className="bx bx-show"></i>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user