Add parent container to the list of options in the WooCommerce step

This parent container is needed so that the last-child CSS pseudo
selector that was added in #4602 works to remove the horizontal line
from the last .mailpoet-wizard-woocommerce-option.

[MAILPOET-4817]
This commit is contained in:
Rodrigo Primo
2022-12-08 13:19:30 -03:00
committed by Aschepikov
parent 1f1c9dd077
commit 1cd38a396e

View File

@@ -41,6 +41,7 @@ function WizardWooCommerceStep(props) {
<p>{MailPoet.I18n.t('wooCommerceSetupInfo')}</p>
<div className="mailpoet-gap" />
<form onSubmit={submit}>
<div>
{props.showCustomersImportSetting ? (
<div className="mailpoet-wizard-woocommerce-option">
<div className="mailpoet-wizard-woocommerce-toggle">
@@ -113,6 +114,7 @@ function WizardWooCommerceStep(props) {
</div>
</div>
</div>
</div>
<div className="mailpoet-gap" />
<Button