chore: build
This commit is contained in:
@@ -56,6 +56,7 @@ const ChangePasswordPage = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
<div className="cp-container">
|
<div className="cp-container">
|
||||||
<div className="cp-content">
|
<div className="cp-content">
|
||||||
<div className="cp-header">
|
<div className="cp-header">
|
||||||
@@ -79,7 +80,7 @@ const ChangePasswordPage = () => {
|
|||||||
<input
|
<input
|
||||||
type={showCurrent ? "text" : "password"}
|
type={showCurrent ? "text" : "password"}
|
||||||
value={currentPassword}
|
value={currentPassword}
|
||||||
onChange={(e) => { setCurrentPassword(e.target.value); setError(""); }}
|
onChange={(e) => { setCurrentPassword(e.target.value); }}
|
||||||
className="cp-input"
|
className="cp-input"
|
||||||
placeholder="••••••••"
|
placeholder="••••••••"
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
@@ -108,7 +109,7 @@ const ChangePasswordPage = () => {
|
|||||||
<input
|
<input
|
||||||
type={showNew ? "text" : "password"}
|
type={showNew ? "text" : "password"}
|
||||||
value={newPassword}
|
value={newPassword}
|
||||||
onChange={(e) => { setNewPassword(e.target.value); setError(""); }}
|
onChange={(e) => { setNewPassword(e.target.value); }}
|
||||||
className="cp-input"
|
className="cp-input"
|
||||||
placeholder="Minimum 8 caractères"
|
placeholder="Minimum 8 caractères"
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
@@ -140,7 +141,7 @@ const ChangePasswordPage = () => {
|
|||||||
<input
|
<input
|
||||||
type={showConfirm ? "text" : "password"}
|
type={showConfirm ? "text" : "password"}
|
||||||
value={confirmPassword}
|
value={confirmPassword}
|
||||||
onChange={(e) => { setConfirmPassword(e.target.value); setError(""); }}
|
onChange={(e) => { setConfirmPassword(e.target.value); }}
|
||||||
className={`cp-input ${confirmPassword && confirmPassword !== newPassword ? "cp-input-error" : ""}`}
|
className={`cp-input ${confirmPassword && confirmPassword !== newPassword ? "cp-input-error" : ""}`}
|
||||||
placeholder="••••••••"
|
placeholder="••••••••"
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
@@ -198,6 +199,7 @@ const ChangePasswordPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ export default function ProfilePage() {
|
|||||||
const res = await generateTelegramLinkToken();
|
const res = await generateTelegramLinkToken();
|
||||||
setTgLoading(false);
|
setTgLoading(false);
|
||||||
if (res.error || !res.link_url) {
|
if (res.error || !res.link_url) {
|
||||||
showError(res.error || 'Service Telegram non disponible');
|
showFeedback('error', 'Telegram indisponible', res.error || 'Service Telegram non disponible');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
window.open(res.link_url, '_blank');
|
window.open(res.link_url, '_blank');
|
||||||
|
|||||||
Reference in New Issue
Block a user