@measured/puck 0.14.2-canary.4dbd487 → 0.14.2-canary.dc93789

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -29296,10 +29296,10 @@ var setupZone = (data, zoneKey) => {
29296
29296
  var getItem = (selector, data, dynamicProps = {}) => {
29297
29297
  if (!selector.zone || selector.zone === rootDroppableId) {
29298
29298
  const item2 = data.content[selector.index];
29299
- return (item2 == null ? void 0 : item2.props) ? __spreadProps(__spreadValues({}, item2), { props: dynamicProps[item2.props.id] || item2.props }) : void 0;
29299
+ return __spreadProps(__spreadValues({}, item2), { props: dynamicProps[item2.props.id] || item2.props });
29300
29300
  }
29301
29301
  const item = setupZone(data, selector.zone).zones[selector.zone][selector.index];
29302
- return (item == null ? void 0 : item.props) ? __spreadProps(__spreadValues({}, item), { props: dynamicProps[item.props.id] || item.props }) : void 0;
29302
+ return __spreadProps(__spreadValues({}, item), { props: dynamicProps[item.props.id] || item.props });
29303
29303
  };
29304
29304
 
29305
29305
  // components/ViewportControls/default-viewports.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.14.2-canary.4dbd487",
3
+ "version": "0.14.2-canary.dc93789",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",