added cn() to textClass

This commit is contained in:
2026-01-29 20:59:41 +00:00
parent 9c2df9c295
commit 14cdc99b74

View File

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