Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.169/page_editor/app/components/undo/undoUpdateItemLocalConfig",["module","exports","require","../../actions/updateItemLocalConfig"],(function(e,t,o){window;Object.defineProperty(t,"__esModule",{value:!0}),t.undoAction=function undoAction({action:e}){const{config:t,itemId:o}=e;return e=>e((0,n.default)({itemConfig:t,itemId:o,overridePreviousConfig:!0}))},t.getDerivedStateForUndo=function getDerivedStateForUndo({action:e,state:t}){const{itemId:o}=e,{layoutData:n}=t;return{config:n.items[o].config,itemId:o}};var n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o("../../actions/updateItemLocalConfig"))}));
//# sourceMappingURL=undoUpdateItemLocalConfig.js.map