Skip to content

Commit

Permalink
Fixes: Warning: validateDOMNesting(...): <p> cannot appear as a desce…
Browse files Browse the repository at this point in the history
…ndant of <p>. (#4117)
  • Loading branch information
orenf committed Mar 14, 2024
1 parent af8932a commit e4b8c24
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 129 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function DescriptionField<

if (typeof description === 'string') {
return (
<Text id={id} mt={2} mb={4}>
<Text as='sup' fontSize='md' id={id}>
{description}
</Text>
);
Expand Down

0 comments on commit e4b8c24

Please sign in to comment.