Skip to content

Commit

Permalink
fix DetailsPage typescript conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Julesssss committed Feb 14, 2024
1 parent e6c321f commit 04cd8bd
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 04cd8bd

Please sign in to comment.