import{useEffect as e}from"react";var t=function(t){var i=t.storeRef,r=t.viewType,n=t.isMobile,a=t.effectiveIsFilterExpanded,d=t.getEffectiveIsMapHidden;e((function(){if(i.current)if(n)i.current.setState({isMapHidden:!0,isFilterExpanded:!1});else{var e=d();i.current.setState({isMapHidden:null!=e&&e,isFilterExpanded:null==a||a})}}),[r])};export{t as useViewTypeLayoutSync};
//# sourceMappingURL=useViewTypeLayoutSync.js.map
