module.exports=[7974,a=>{"use strict";var b=a.i(19234),c=a.i(92495),d=a.i(59730);a.s(["LogoutButton",0,function(){let a=(0,d.useRouter)(),[e,f]=(0,c.useTransition)();return(0,b.jsx)("button",{type:"button",onClick:()=>{f(async()=>{await fetch("/api/auth/logout",{method:"POST"}),a.replace("/login"),a.refresh()})},disabled:e,className:"rounded-xl border border-zinc-200 px-3 py-2 text-sm font-medium text-zinc-700 transition hover:bg-zinc-50 disabled:cursor-not-allowed disabled:opacity-60 dark:border-zinc-800 dark:text-zinc-200 dark:hover:bg-zinc-900",children:e?"Signing out...":"Sign out"})}])}];

//# sourceMappingURL=apps_web_src_components_logout-button_tsx_0-n.wc5._.js.map