Skip to content

Commit

Permalink
Fix validateDOMNesting warning
Browse files Browse the repository at this point in the history
- <p> cannot appear as a descendant of <p>.
  • Loading branch information
ianrohde committed Jan 8, 2024
1 parent 44a5dcf commit c499c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/footer/components/Shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ export const FooterLink = forwardRef<FooterLinkProps, 'a'>(
onClick={trackedOnClick}
{...otherProps}
>
<Text fontSize={fontSize} lineHeight="1em" color={customColor}>
<Box fontSize={fontSize} lineHeight="1em" color={customColor}>
{children}
</Text>
</Box>
{icon && <Icon as={icon} boxSize="6" />}
</HStack>
);
Expand Down

0 comments on commit c499c7a

Please sign in to comment.