chore: build
This commit is contained in:
@@ -56,6 +56,7 @@ const ChangePasswordPage = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="cp-container">
|
||||
<div className="cp-content">
|
||||
<div className="cp-header">
|
||||
@@ -79,7 +80,7 @@ const ChangePasswordPage = () => {
|
||||
<input
|
||||
type={showCurrent ? "text" : "password"}
|
||||
value={currentPassword}
|
||||
onChange={(e) => { setCurrentPassword(e.target.value); setError(""); }}
|
||||
onChange={(e) => { setCurrentPassword(e.target.value); }}
|
||||
className="cp-input"
|
||||
placeholder="••••••••"
|
||||
disabled={isLoading}
|
||||
@@ -108,7 +109,7 @@ const ChangePasswordPage = () => {
|
||||
<input
|
||||
type={showNew ? "text" : "password"}
|
||||
value={newPassword}
|
||||
onChange={(e) => { setNewPassword(e.target.value); setError(""); }}
|
||||
onChange={(e) => { setNewPassword(e.target.value); }}
|
||||
className="cp-input"
|
||||
placeholder="Minimum 8 caractères"
|
||||
disabled={isLoading}
|
||||
@@ -140,7 +141,7 @@ const ChangePasswordPage = () => {
|
||||
<input
|
||||
type={showConfirm ? "text" : "password"}
|
||||
value={confirmPassword}
|
||||
onChange={(e) => { setConfirmPassword(e.target.value); setError(""); }}
|
||||
onChange={(e) => { setConfirmPassword(e.target.value); }}
|
||||
className={`cp-input ${confirmPassword && confirmPassword !== newPassword ? "cp-input-error" : ""}`}
|
||||
placeholder="••••••••"
|
||||
disabled={isLoading}
|
||||
@@ -198,6 +199,7 @@ const ChangePasswordPage = () => {
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user