feat(sidebar): update user initials display to show first two letters of first and last name
All checks were successful
Build & Push Docker Image / build (push) Successful in 6m32s
All checks were successful
Build & Push Docker Image / build (push) Successful in 6m32s
This commit is contained in:
@@ -116,7 +116,7 @@ export default function Sidebar({ open, onClose }) {
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
) : (
|
||||
(user?.display_name || user?.name)?.[0]?.toUpperCase() || '?'
|
||||
(user?.display_name || user?.name)?.split(' ').map(n => n[0]).join('').toUpperCase().slice(0, 2) || '?'
|
||||
)}
|
||||
</div>
|
||||
<div className="min-w-0">
|
||||
|
||||
Reference in New Issue
Block a user