module.exports=[88369,a=>{"use strict";var b=a.i(87924),c=a.i(14913);function d(){return(0,b.jsx)("button",{onClick:c.logout,className:"bg-red-600 text-white px-4 py-2",children:"Logout"})}a.s(["default",()=>d])},21869,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(50944);function e({children:a}){let e=(0,d.useRouter)(),[f,g]=(0,c.useState)(!0);return((0,c.useEffect)(()=>{document.cookie.split("; ").find(a=>a.startsWith("token="))?.split("=")[1]?g(!1):e.replace("/login")},[e]),f)?null:(0,b.jsx)(b.Fragment,{children:a})}a.s(["default",()=>e])}];

//# sourceMappingURL=src_app_components_d4944a1c._.js.map