Skip to content

Commit

Permalink
feat: update description popover to add AddressRules component
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurFerrao committed Dec 17, 2024
1 parent 90988e0 commit b51afbd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions react/components/DeliveryPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,13 @@ const DeliveryPopover = ({
e.stopPropagation()
}}
>
<AddressRules country={getCountryCode()} shouldUseIOFetching>
<p className="ma0">
{`${intl.formatMessage(messages.popoverDescription)} `}
<p className="ma0">
{`${intl.formatMessage(messages.popoverDescription)} `}
<AddressRules country={getCountryCode()} shouldUseIOFetching>
<PostalCodeHelpLink />
</p>
</AddressRules>
</AddressRules>
</p>

{variant === 'popover-button' ? (
<Button onClick={onClick}>
{intl.formatMessage(messages.popoverButtonLabel)}
Expand Down

0 comments on commit b51afbd

Please sign in to comment.