payload-plugin-newsletter 0.13.0 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1395,7 +1395,7 @@ var EmailPreviewField = () => {
1395
1395
  const [validationSummary, setValidationSummary] = useState6("");
1396
1396
  const fields = useFormFields(([fields2]) => ({
1397
1397
  content: fields2["contentSection.content"],
1398
- subject: fields2["contentSection.subject"],
1398
+ subject: fields2["subject"],
1399
1399
  preheader: fields2["contentSection.preheader"],
1400
1400
  channel: fields2.channel
1401
1401
  }));
@@ -1536,7 +1536,7 @@ var BroadcastEditor = (props) => {
1536
1536
  const [isValid, setIsValid] = useState7(true);
1537
1537
  const [validationSummary, setValidationSummary] = useState7("");
1538
1538
  const fields = useFormFields2(([fields2]) => ({
1539
- subject: fields2["contentSection.subject"],
1539
+ subject: fields2["subject"],
1540
1540
  preheader: fields2["contentSection.preheader"]
1541
1541
  }));
1542
1542
  const handleValidation = useCallback2((result) => {
@@ -1989,7 +1989,7 @@ var BroadcastInlinePreview = () => {
1989
1989
  const [previewData, setPreviewData] = useState9(null);
1990
1990
  const [error, setError] = useState9(null);
1991
1991
  const fields = useFormFields3(([fields2]) => ({
1992
- subject: fields2["contentSection.subject"]?.value,
1992
+ subject: fields2["subject"]?.value,
1993
1993
  preheader: fields2["contentSection.preheader"]?.value,
1994
1994
  content: fields2["contentSection.content"]?.value
1995
1995
  }));