Skip to content

Commit

Permalink
Add missing code back
Browse files Browse the repository at this point in the history
Some part of code had been removed by mistake for solving
merge conflicts

[MAILPOET-4908]
  • Loading branch information
samnajian committed Mar 9, 2023
1 parent ec08d82 commit aea5c60
Showing 1 changed file with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,34 @@ export function PitchMss(props: Props): JSX.Element {
window.open(props.purchaseUrl);
next();
}}
withSpinner={isClosing}
>
{_x(
'Sign up for free',
'Promotion for our email sending service: Button',
'mailpoet',
)}
</Button>
<Button
isFullWidth
variant="tertiary"
onClick={next}
onKeyDown={(event) => {
if (
['keydown', 'keypress'].includes(event.type) &&
['Enter', ' '].includes(event.key)
) {
event.preventDefault();
next();
}
}}
withSpinner={isClosing}
>
{_x(
'No thanks!',
'Promotion for our email sending service: Skip link',
'mailpoet',
)}
</Button>
</div>
</WelcomeWizardStepLayoutBody>
</>
Expand Down

0 comments on commit aea5c60

Please sign in to comment.