added cn() to textClass

This commit is contained in:
2026-01-29 20:59:41 +00:00
parent 106fc34aed
commit 229bce5ee9

View File

@@ -70,7 +70,7 @@ export default function OrgIcon({
{iconURL ? (
<img src={iconURL} alt={name} className={`rounded-md object-cover w-${size || 6} h-${size || 6}`} />
) : (
<span className={textClass}>{getInitials(name)}</span>
<span className={cn(textClass)}>{getInitials(name)}</span>
)}
</div>
);