@plasmicapp/react-web 0.2.383 → 0.2.384

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
@@ -1487,6 +1487,9 @@ var PlasmicLinkInternal = React.forwardRef(function PlasmicLinkInternal(props, r
1487
1487
  if (props.platform === "gatsby" && isInternalHref(props.href)) {
1488
1488
  return React.createElement(props.component, __assign(__assign({}, omit(props, "component", "platform", "href")), { to: props.href, ref: ref }));
1489
1489
  }
1490
+ if (props.platform === "tanstack" && isInternalHref(props.href)) {
1491
+ return React.createElement(props.component, __assign(__assign({}, omit(props, "component", "platform", "href")), { to: props.href, ref: ref }));
1492
+ }
1490
1493
  return React.createElement("a", __assign({}, omit(props, "component", "platform"), { ref: ref }));
1491
1494
  });
1492
1495
  function isInternalHref(href) {