Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit cbfa3b6

Browse files
authored
Merge pull request #51 from topcoder-platform/dev
fix: navbar visiblity
2 parents 3989def + 141f71a commit cbfa3b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Avatar/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const Avatar = ({ profile }) => (
1212
<img src={profile.photoURL} alt="User avatar" className="avatar-photo" />
1313
) : (
1414
<span className="avatar-letters">
15-
{profile.firstName.charAt(0)}
16-
{profile.lastName.charAt(0)}
15+
{profile.firstName?.charAt(0)}
16+
{profile.lastName?.charAt(0)}
1717
</span>
1818
)}
1919
</div>

0 commit comments

Comments
 (0)