diy-template-components 1.0.11 → 1.0.13
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.
- package/build/index.es.js +2 -5
- package/build/index.es.js.map +1 -1
- package/build/index.js +2 -5
- package/build/index.js.map +1 -1
- package/package.json +5 -8
package/build/index.es.js
CHANGED
|
@@ -8944,9 +8944,6 @@ function Section({
|
|
|
8944
8944
|
},
|
|
8945
8945
|
ref: landing?.components[1]?.refSetter
|
|
8946
8946
|
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("a", {
|
|
8947
|
-
// href={
|
|
8948
|
-
// landing?.components[3]?.metadata?.text
|
|
8949
|
-
// }
|
|
8950
8947
|
href: landingLink,
|
|
8951
8948
|
target: "_blank",
|
|
8952
8949
|
style: {
|
|
@@ -9121,8 +9118,8 @@ function EmailDripMarket({
|
|
|
9121
9118
|
}) {
|
|
9122
9119
|
const isInitialMount = useRef(true);
|
|
9123
9120
|
const getLandingLink = () => {
|
|
9124
|
-
if (landing?.components[3]?.metadata?.text) {
|
|
9125
|
-
return landing?.components[3]?.metadata?.text;
|
|
9121
|
+
if (sectionData?.components[2]?.landing?.components[3]?.metadata?.text) {
|
|
9122
|
+
return sectionData?.components[2]?.landing?.components[3]?.metadata?.text;
|
|
9126
9123
|
} else {
|
|
9127
9124
|
return '{{link}}';
|
|
9128
9125
|
}
|