Skip to content

Commit

Permalink
CW-crash-backpage Added condition for empty joinedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
MeyerPV committed Jul 16, 2024
1 parent f085b2b commit 9db2521
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,13 @@ const CommonMember: FC<CommonMemberProps> = ({
</div>
</div>
</div>
<div className="members__section__common-member-date">
{joinedAt
.toDate()
.toLocaleDateString("en-US", { month: "short", day: "numeric" })}
</div>
{joinedAt && (
<div className="members__section__common-member-date">
{joinedAt
?.toDate()
.toLocaleDateString("en-US", { month: "short", day: "numeric" })}
</div>
)}
<MemberDropdown
notMemberCircles={notMemberCircles}
memberName={memberName}
Expand Down

0 comments on commit 9db2521

Please sign in to comment.