@measured/puck 0.10.0-canary.8d47fd7 → 0.10.0-canary.c276b23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -3179,7 +3179,8 @@ var defaultAppState = {
|
|
3179
3179
|
data: { content: [], root: { title: "" } },
|
3180
3180
|
ui: {
|
3181
3181
|
leftSideBarVisible: true,
|
3182
|
-
arrayState: {}
|
3182
|
+
arrayState: {},
|
3183
|
+
itemSelector: null
|
3183
3184
|
}
|
3184
3185
|
};
|
3185
3186
|
var appContext = (0, import_react24.createContext)({
|
@@ -4015,6 +4016,8 @@ var _recordHistory = ({
|
|
4015
4016
|
record,
|
4016
4017
|
dispatch
|
4017
4018
|
}) => {
|
4019
|
+
if (JSON.stringify(snapshot) === JSON.stringify(newSnapshot))
|
4020
|
+
return;
|
4018
4021
|
record({
|
4019
4022
|
forward: () => {
|
4020
4023
|
dispatch({ type: "set", state: newSnapshot });
|