@bigbinary/neeto-site-blocks 1.18.5 → 1.18.6

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 CHANGED
@@ -7227,9 +7227,15 @@ var Button = function Button(_ref) {
7227
7227
  children: label
7228
7228
  }));
7229
7229
  }
7230
+ if (action === "embed") {
7231
+ return /*#__PURE__*/jsxRuntime.jsx(StyledAnchor, _objectSpread$B(_objectSpread$B({}, commonProps), {}, {
7232
+ as: "button",
7233
+ href: "",
7234
+ children: label
7235
+ }));
7236
+ }
7230
7237
  return /*#__PURE__*/jsxRuntime.jsx(StyledAnchor, _objectSpread$B(_objectSpread$B({}, commonProps), {}, {
7231
- as: "button",
7232
- href: action === "embed" && "",
7238
+ to: commonProps.href,
7233
7239
  children: label
7234
7240
  }));
7235
7241
  };