Skip to content

Commit

Permalink
fix: make raw string a formatted message (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWithEmad authored Jun 24, 2024
1 parent 3512fc5 commit 6aaf615
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/profile/AgeMessage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ const AgeMessage = ({ accountSettingsUrl }) => (
show
>
<Alert.Heading id="profile.age.headline">
Your profile cannot be shared.
<FormattedMessage
id="profile.age.cannotShare"
defaultMessage="Your profile cannot be shared."
description="Error message indicating that the user's profile cannot be shared"
/>
</Alert.Heading>
<FormattedMessage
id="profile.age.details"
Expand Down

0 comments on commit 6aaf615

Please sign in to comment.