PageSourceSearch

https://www.playclub.ai/assets/AuthSmokeTest-BMmG9aL7.js

js playclub.ai collected 2026-10-05 14:12:40 UTC 787 bytes, 1 lines download raw bytes

1import{r as e,j as t}from"./react-vendor-B1GXn4GR.js";import{s as i,J as u}from"./index-DaWGFpy7.js";import"./supabase-BwFWNr8C.js";import"./locale-en-US-BkuAKBV6.js";function p(){const[s,n]=e.useState(null);e.useEffect(()=>{(async()=>{const{data:{session:l}}=await i.auth.getSession();n(l?.user?.email??null)})()},[]);const o=async()=>{await i.auth.signInWithOAuth({provider:"google",options:{redirectTo:u(),scopes:"openid email profile"}})},a=async()=>{await i.auth.signOut(),n(null)};return t.jsxs("div",{style:{padding:24},children:[t.jsx("h1",{children:"Auth Smoke Test"}),t.jsxs("p",{children:["Status: ",s?`Signed in as ${s}`:"Not signed in"]}),s?t.jsx("button",{onClick:a,children:"Sign out"}):t.jsx("button",{onClick:o,children:"Continue with Google"})]})}export{p 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.