Refactor profile-info.tsx: simplify clsx usage by re-enabling conditional ml-6 class for better readability

This commit is contained in:
MartinBraquet
2026-05-11 14:17:10 +02:00
parent a6a9e5e105
commit eaa4aa9a48

View File

@@ -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}