mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🔧 fix: Update username reference to use user.name in greeting display (#6534)
This commit is contained in:
parent
7f29f2f676
commit
aed468ce1a
1 changed files with 2 additions and 2 deletions
|
|
@ -124,8 +124,8 @@ export default function Landing({ centerFormOnLanding }: { centerFormOnLanding:
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<SplitText
|
<SplitText
|
||||||
key={`split-text-${getGreeting()}${user?.username || ''}`}
|
key={`split-text-${getGreeting()}${user?.name || ''}`}
|
||||||
text={getGreeting() + (user?.username ? ', ' + user.username : '')}
|
text={getGreeting() + (user?.name ? ', ' + user.name : '')}
|
||||||
className="text-4xl font-medium text-text-primary"
|
className="text-4xl font-medium text-text-primary"
|
||||||
delay={50}
|
delay={50}
|
||||||
textAlign="center"
|
textAlign="center"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue