@bigbinary/neeto-site-blocks 1.1.4 → 1.1.5
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 +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -14286,7 +14286,7 @@ var Button = function Button(_ref) {
|
|
|
14286
14286
|
var commonProps = {
|
|
14287
14287
|
className: classnames([anchorBaseClass, className]),
|
|
14288
14288
|
design: style,
|
|
14289
|
-
href: to,
|
|
14289
|
+
href: to !== null && to !== void 0 ? to : "",
|
|
14290
14290
|
rel: "noreferrer"
|
|
14291
14291
|
};
|
|
14292
14292
|
if (action === "external") {
|
|
@@ -14332,7 +14332,7 @@ var LinkElement = function LinkElement(_ref) {
|
|
|
14332
14332
|
var commonProps = {
|
|
14333
14333
|
className: classnames([baseClass, className]),
|
|
14334
14334
|
design: style,
|
|
14335
|
-
href: to,
|
|
14335
|
+
href: to !== null && to !== void 0 ? to : "",
|
|
14336
14336
|
rel: "noreferrer",
|
|
14337
14337
|
percentage: 0.1
|
|
14338
14338
|
};
|