mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
🖼️ fix: Prevent Empty Avatar Source (#4321)
This commit is contained in:
parent
cb0b69e807
commit
104341e0e7
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ function AccountSettings() {
|
|||
) : (
|
||||
<img
|
||||
className="rounded-full"
|
||||
src={user?.avatar ?? avatarSrc}
|
||||
src={(user?.avatar ?? '') || avatarSrc}
|
||||
alt={`${name}'s avatar`}
|
||||
/>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue