@measured/puck 0.12.0-canary.0b6a527 → 0.12.0-canary.0c4514f
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +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)
|