chore: build

This commit is contained in:
2026-06-12 15:24:34 +02:00
parent cc15901d93
commit 4792536900
2 changed files with 6 additions and 4 deletions
@@ -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>
)}
</>
);
};
+1 -1
View File
@@ -101,7 +101,7 @@ export default function ProfilePage() {
const res = await generateTelegramLinkToken();
setTgLoading(false);
if (res.error || !res.link_url) {
showError(res.error || 'Service Telegram non disponible');
showFeedback('error', 'Telegram indisponible', res.error || 'Service Telegram non disponible');
return;
}
window.open(res.link_url, '_blank');