@measured/puck 0.10.0-canary.8d47fd7 → 0.10.0-canary.c276b23
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/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 });
|