correct optin enabled check
[MAILPOET-3920]
This commit is contained in:
@@ -54,7 +54,7 @@ export const Edit = ({
|
|||||||
const currentText = text || defaultText;
|
const currentText = text || defaultText;
|
||||||
return (
|
return (
|
||||||
<div {...blockProps}>
|
<div {...blockProps}>
|
||||||
{!optinEnabled ? (
|
{optinEnabled ? (
|
||||||
<>
|
<>
|
||||||
<div className="wc-block-checkout__newsletter">
|
<div className="wc-block-checkout__newsletter">
|
||||||
<CheckboxControl id="subscribe-to-newsletter" checked={false} />
|
<CheckboxControl id="subscribe-to-newsletter" checked={false} />
|
||||||
|
Reference in New Issue
Block a user