🔧 fix: Update username reference to use user.name in greeting display (#6534)

This commit is contained in:
Ruben Talstra 2025-03-26 10:15:52 +01:00 committed by GitHub
parent 7f29f2f676
commit aed468ce1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,8 +124,8 @@ export default function Landing({ centerFormOnLanding }: { centerFormOnLanding:
</div>
) : (
<SplitText
key={`split-text-${getGreeting()}${user?.username || ''}`}
text={getGreeting() + (user?.username ? ', ' + user.username : '')}
key={`split-text-${getGreeting()}${user?.name || ''}`}
text={getGreeting() + (user?.name ? ', ' + user.name : '')}
className="text-4xl font-medium text-text-primary"
delay={50}
textAlign="center"