Merge pull request 'individual affect eye icon on pass' (#13) from pramod_Bug#65_EyeIconAffectBoth into Feature_Task_Management
Reviewed-on: #13
This commit is contained in:
commit
2f5e91aa11
@ -35,8 +35,9 @@ const resetPasswordSchema = z
|
||||
|
||||
const ResetPasswordPage = () => {
|
||||
const [searchParams] = useSearchParams();
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [ loading, setLoading ] = useState( false );
|
||||
const [hidepass, setHidepass] = useState(true);
|
||||
const [hidepass1, setHidepass1] = useState(true);
|
||||
|
||||
const token = searchParams.get("token");
|
||||
const navigate = useNavigate();
|
||||
@ -144,7 +145,7 @@ const ResetPasswordPage = () => {
|
||||
</div>
|
||||
<div className=" input-group input-group-merge">
|
||||
<input
|
||||
type={hidepass ? "password" : "text"}
|
||||
type={hidepass1 ? "password" : "text"}
|
||||
autoComplete="true"
|
||||
id="password"
|
||||
className="form-control"
|
||||
@ -155,9 +156,9 @@ const ResetPasswordPage = () => {
|
||||
/>
|
||||
<span
|
||||
className="input-group-text cursor-pointer"
|
||||
onClick={() => setHidepass(!hidepass)}
|
||||
onClick={() => setHidepass1(!hidepass1)}
|
||||
>
|
||||
{hidepass ? (
|
||||
{hidepass1 ? (
|
||||
<i className="bx bx-hide"></i>
|
||||
) : (
|
||||
<i className="bx bx-show"></i>
|
||||
|
Loading…
x
Reference in New Issue
Block a user