mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-13 17:46:52 -04:00
Refactor profile-info.tsx: simplify clsx usage by re-enabling conditional ml-6 class for better readability
This commit is contained in:
@@ -138,10 +138,7 @@ export function ProfileInfo(props: {
|
||||
{user.name?.charAt(0).toUpperCase()}
|
||||
</div>
|
||||
<div
|
||||
className={clsx(
|
||||
'min-w-0 flex-1 animate-profile-appear',
|
||||
// !profile.pinned_url && 'ml-6'
|
||||
)}
|
||||
className={clsx('min-w-0 flex-1 animate-profile-appear', !profile.pinned_url && 'ml-6')}
|
||||
>
|
||||
<ProfileHeader
|
||||
user={user}
|
||||
|
||||
Reference in New Issue
Block a user