Skip to content

Commit

Permalink
fix(webcomponents/userinfo): replace static string with externalId
Browse files Browse the repository at this point in the history
  • Loading branch information
anouskadegraaf committed Jun 14, 2022
1 parent 8e3e429 commit b75f2ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports[`UserInfo tests Snapshot Testing Required Props 1`] = `
<Then>
<Memo()
placement="top"
title="externalId"
title=""
>
<ForwardRef(Typography)
align="center"
Expand Down
2 changes: 1 addition & 1 deletion packages/webcomponents/src/UserInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const UserInfo = memo(
<When condition={email !== undefined}>
<If condition={externalId !== undefined}>
<Then>
<Tooltip title='externalId' placement='top'>
<Tooltip title={externalId || ''} placement='top'>
<Typography {...EmailProps} color='textPrimary' variant='subtitle2' align='center'>
{email}
</Typography>
Expand Down

0 comments on commit b75f2ea

Please sign in to comment.