fix: casing throughout the platform (#5293)

This commit is contained in:
Aaryan Khandelwal 2024-08-04 10:09:29 +05:30 committed by GitHub
parent 3a5c77e8a4
commit 8f8a97589d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 50 additions and 146 deletions

View file

@ -119,7 +119,7 @@ export const MemberDropdown: React.FC<Props> = observer((props) => {
>
{!hideIcon && <ButtonAvatars showTooltip={showTooltip} userIds={value} icon={icon} />}
{BUTTON_VARIANTS_WITH_TEXT.includes(buttonVariant) && (
<span className="flex-grow truncate text-xs leading-5">
<span className="flex-grow truncate">
{Array.isArray(value) && value.length > 0
? value.length === 1
? getUserDetails(value[0])?.display_name