1import{u as r,r as u}from"./index-CcS9JgGJ.js";import{u as i,s as o}from"./useAuthReady-B54cJMlA.js";const p=()=>{const e=r(),{isReady:a,session:t}=i();return u.useEffect(()=>{a&&(async()=>{if(!t){e("/auth?tab=join",{replace:!0});return}const{data:s}=await o.from("comp_profiles").select("community_status").eq("id",t.user.id).maybeSingle(),n=(s==null?void 0:s.community_status)??"pending";e(n==="approved"?"/inside":"/pending-review",{replace:!0})})()},[a,t,e]),null};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.