@measured/puck 0.12.0-canary.0b6a527 → 0.12.0-canary.0c4514f

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -34302,7 +34302,7 @@ function Puck({
34302
34302
  }) {
34303
34303
  var _a, _b;
34304
34304
  const [reducer] = (0, import_react38.useState)(() => createReducer({ config }));
34305
- const initialAppState = __spreadProps(__spreadValues({}, defaultAppState), {
34305
+ const [initialAppState] = (0, import_react38.useState)(__spreadProps(__spreadValues({}, defaultAppState), {
34306
34306
  data: initialData,
34307
34307
  ui: __spreadProps(__spreadValues({}, defaultAppState.ui), {
34308
34308
  // Store categories under componentList on state to allow render functions and plugins to modify
@@ -34320,7 +34320,7 @@ function Puck({
34320
34320
  {}
34321
34321
  ) : {}
34322
34322
  })
34323
- });
34323
+ }));
34324
34324
  const [appState, dispatch] = (0, import_react38.useReducer)(
34325
34325
  reducer,
34326
34326
  flushZones(initialAppState)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.12.0-canary.0b6a527",
3
+ "version": "0.12.0-canary.0c4514f",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",