summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/avatar.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ui/src/components/avatar.tsx')
-rw-r--r--packages/ui/src/components/avatar.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ui/src/components/avatar.tsx b/packages/ui/src/components/avatar.tsx
index c1617b265..035c2d304 100644
--- a/packages/ui/src/components/avatar.tsx
+++ b/packages/ui/src/components/avatar.tsx
@@ -38,7 +38,7 @@ export function Avatar(props: AvatarProps) {
data-size={split.size || "normal"}
data-has-image={src ? "" : undefined}
classList={{
- ...(split.classList ?? {}),
+ ...split.classList,
[split.class ?? ""]: !!split.class,
}}
style={{