small fixes

This commit is contained in:
2023-10-26 12:32:03 +07:00
parent 3abce5e6d6
commit 1cb2d8cb41
3 changed files with 8 additions and 2 deletions

View File

@@ -61,6 +61,12 @@ export const User = memo(function User({
);
}
if (variant === 'stacked') {
return (
<div className="h-8 w-8 animate-pulse rounded-full bg-neutral-300 dark:bg-neutral-700" />
);
}
return (
<div className="flex items-start gap-3">
<div className="h-10 w-10 shrink-0 animate-pulse rounded-lg bg-neutral-300 dark:bg-neutral-700" />