import{useMemo as r}from"react";import{useContextOrThrow as o}from"../stores/utils/useContextOrThrow.js";import{ViewportContext as t}from"./ViewportContext.js";import{VIEW_TYPE as e}from"./ViewType.js";var i=function(){var i=o(t);return r((function(){return{viewType:i,isMobile:i===e.mobile}}),[i])};export{i as useViewType};
//# sourceMappingURL=useViewType.js.map
