Skip to content

Commit

Permalink
Wrapping FormatMessage Component with <div> so that browser translate…
Browse files Browse the repository at this point in the history
…d DOM will not fail the js DOM Manipulation.
  • Loading branch information
del15881 committed Nov 21, 2024
1 parent 41e01a6 commit 9b49d31
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/venia-ui/lib/components/AuthBar/authBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ const AuthBar = props => {
<span className={classes.contents}>
<AccountChip fallbackText={fallBackText} />
<span className={classes.signIn}>
<FormattedMessage
id={'authBar.signInText'}
defaultMessage={'Sign In'}
/>
<div>
<FormattedMessage
id={'authBar.signInText'}
defaultMessage={'Sign In'}
/>
</div>
</span>
</span>
</button>
Expand Down

0 comments on commit 9b49d31

Please sign in to comment.