PageSourceSearch

https://cryptocademy.netlify.app/assets/Logout-9a7575f5.js

js cryptocademy.netlify.app collected 2026-10-03 11:38:03 UTC 709 bytes, 1 lines download raw bytes

1import{u as g,a as c,r as s,j as b,F as i,b as o,E as f}from"./index-f6c41174.js";import"./_commonjsHelpers-725317a4.js";const x=()=>{const{logout:r}=g();let a=c();const e=s.useRef(null),[u,l]=s.useState(null);async function n(){try{await r(),console.log("logged out user successfully"),a("/")}catch(t){l(t.message),e.current.show(),console.log(t)}}return b(i,{children:[o(f,{message:u,ref:e}),o("button",{type:"button",onClick:n,className:"text-white my-2 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-semibold rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 font-text",children:"Logout"})]})};export{x as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.