import{r as i}from"./index-BbiZcFRx.js";const r=()=>{const[t,n]=i.useState({width:void 0,height:void 0});return i.useEffect(()=>{function e(){n({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),t};export{r as u};
//# sourceMappingURL=useWindowSize-C66I80Fn.js.map