import{useEffect as r}from"react";import{UAParser as o}from"ua-parser-js";var n=()=>{let e=new o;r(()=>{e=new o(typeof window<"u"?window.navigator.userAgent:{})},[]);let{type:t}=e.getDevice();return t==="mobile"||t==="tablet"},c=n;export{c as default};
