refactor(content-card): fix indentation and improve readability

- Fixed inconsistent indentation in `content-card` component.
- Enhanced code readability by restructuring JSX elements properly.
This commit is contained in:
Mathis HERRIOT
2026-01-21 13:48:29 +01:00
parent 02d612e026
commit 058830bb60

View File

@@ -100,7 +100,9 @@ export function ContentCard({ content, onUpdate }: ContentCardProps) {
<CardHeader className="p-4 flex flex-row items-center space-y-0 gap-3"> <CardHeader className="p-4 flex flex-row items-center space-y-0 gap-3">
<Avatar className="h-8 w-8"> <Avatar className="h-8 w-8">
<AvatarImage src={content.author.avatarUrl} /> <AvatarImage src={content.author.avatarUrl} />
<AvatarFallback>{content.author.username[0].toUpperCase()}</AvatarFallback> <AvatarFallback>
{content.author.username[0].toUpperCase()}
</AvatarFallback>
</Avatar> </Avatar>
<div className="flex flex-col"> <div className="flex flex-col">
<Link <Link