import{u as r,aq as n,r as i}from"./index-CK33qGU_.js";import{u as d}from"./useProject-BzBQtp4J.js";const c=t=>{const{id:m}=r(),{project:e}=d(t??+m),{data:s}=n();return i.useMemo(()=>{var o;const a=(o=e==null?void 0:e.projectTeam)==null?void 0:o.find(({user:u})=>u.username===(s==null?void 0:s.username));return a==null?void 0:a.teamRole},[s==null?void 0:s.username,e==null?void 0:e.projectTeam])};export{c as u};
