Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.169/page_editor/app/components/undo/undoSwitchViewportSize",["module","exports","require","../../actions/index"],(function(e,t,i){window;Object.defineProperty(t,"__esModule",{value:!0}),t.undoAction=function undoAction({action:e}){return t=>t((0,o.switchViewportSize)({size:e.size}))},t.getDerivedStateForUndo=function getDerivedStateForUndo({action:e,state:t}){return{nextSize:e.size,size:t.selectedViewportSize}};var o=i("../../actions/index")}));
//# sourceMappingURL=undoSwitchViewportSize.js.map