chore: update various components and services for improved functionality and consistency, including formatting adjustments and minor refactors
This commit is contained in:
@@ -75,7 +75,8 @@ export function ChangePasswordForm() {
|
||||
<CardHeader>
|
||||
<CardTitle>Changer le mot de passe</CardTitle>
|
||||
<CardDescription>
|
||||
Assurez-vous d'utiliser un mot de passe fort (8 caractères minimum, une majuscule et un chiffre)
|
||||
Assurez-vous d'utiliser un mot de passe fort (8 caractères minimum, une majuscule et
|
||||
un chiffre)
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
@@ -136,4 +137,3 @@ export function ChangePasswordForm() {
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,9 @@ import { Mail, Calendar, Shield, Heart } from "lucide-react";
|
||||
import type { UserProfile } from "@/lib/services/user.service";
|
||||
|
||||
interface UserProfileCardProps {
|
||||
profile: UserProfile & { stats: { favoritesCount: number; hasPreferences: boolean; hasKomgaConfig: boolean } };
|
||||
profile: UserProfile & {
|
||||
stats: { favoritesCount: number; hasPreferences: boolean; hasKomgaConfig: boolean };
|
||||
};
|
||||
}
|
||||
|
||||
export function UserProfileCard({ profile }: UserProfileCardProps) {
|
||||
@@ -65,12 +67,10 @@ export function UserProfileCard({ profile }: UserProfileCardProps) {
|
||||
|
||||
<div className="pt-4 border-t">
|
||||
<p className="text-xs text-muted-foreground">
|
||||
Dernière mise à jour:{" "}
|
||||
{new Date(profile.updatedAt).toLocaleDateString("fr-FR")}
|
||||
Dernière mise à jour: {new Date(profile.updatedAt).toLocaleDateString("fr-FR")}
|
||||
</p>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user