@plasmicapp/react-web 0.2.114 → 0.2.115
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/react-web.cjs.development.js +3 -1
- package/dist/react-web.cjs.development.js.map +1 -1
- package/dist/react-web.cjs.production.min.js +1 -1
- package/dist/react-web.cjs.production.min.js.map +1 -1
- package/dist/react-web.esm.js +3 -1
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +2 -2
- package/skinny/dist/index.js +1 -1
- package/skinny/dist/index.js.map +1 -1
|
@@ -1282,7 +1282,9 @@ var PlasmicLink = /*#__PURE__*/React__default.forwardRef(function PlasmicLink(pr
|
|
|
1282
1282
|
// then we just render the default anchor element
|
|
1283
1283
|
if (props.platform === "nextjs" && props.href) {
|
|
1284
1284
|
var nextjsProps = ["href", "replace", "scroll", "shallow", "passHref", "prefetch", "locale"];
|
|
1285
|
-
return React__default.createElement(props.component,
|
|
1285
|
+
return React__default.createElement(props.component, _extends({}, pick.apply(void 0, [props].concat(nextjsProps)), {
|
|
1286
|
+
legacyBehavior: true
|
|
1287
|
+
}), React__default.createElement("a", Object.assign({}, omit.apply(void 0, [props, "component", "platform"].concat(nextjsProps)), {
|
|
1286
1288
|
ref: ref
|
|
1287
1289
|
})));
|
|
1288
1290
|
}
|