Skip to content

Commit

Permalink
Merge pull request #36474 from Expensify/jules-fixTypescriptIssue
Browse files Browse the repository at this point in the history
Fix DetailsPage typescript conflict
  • Loading branch information
cristipaval authored Feb 14, 2024
2 parents e6c321f + 04cd8bd commit 36c7e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/DetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function DetailsPage({personalDetails, route, session}: DetailsPageProps) {
>
{translate(isSMSLogin ? 'common.phoneNumber' : 'common.email')}
</Text>
<CommunicationsLink value={phoneOrEmail}>
<CommunicationsLink value={phoneOrEmail ?? ''}>
<UserDetailsTooltip accountID={details.accountID}>
<Text numberOfLines={1}>{isSMSLogin ? formatPhoneNumber(phoneNumber ?? '') : details.login}</Text>
</UserDetailsTooltip>
Expand Down

0 comments on commit 36c7e8e

Please sign in to comment.