@fragmentsx/render-react 1.2.0 → 1.2.1
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/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1626,7 +1626,7 @@ const useTextContent = (layerKey, manager) => {
|
|
|
1626
1626
|
variables.forEach((variable) => {
|
|
1627
1627
|
nextContent = nextContent.replace(
|
|
1628
1628
|
variable.fullMatch,
|
|
1629
|
-
readVariable(variable.variableKey).value
|
|
1629
|
+
readVariable(variable.variableKey).value ?? ""
|
|
1630
1630
|
);
|
|
1631
1631
|
});
|
|
1632
1632
|
return nextContent;
|
package/dist/index.es.js
CHANGED
|
@@ -1624,7 +1624,7 @@ const useTextContent = (layerKey, manager) => {
|
|
|
1624
1624
|
variables.forEach((variable) => {
|
|
1625
1625
|
nextContent = nextContent.replace(
|
|
1626
1626
|
variable.fullMatch,
|
|
1627
|
-
readVariable(variable.variableKey).value
|
|
1627
|
+
readVariable(variable.variableKey).value ?? ""
|
|
1628
1628
|
);
|
|
1629
1629
|
});
|
|
1630
1630
|
return nextContent;
|