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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user