import{u as n,cm as r,au as c,r as d}from"./index-DNBEEyYo.js";const f=t=>{const{id:m}=n(),{project:e}=r(t??+m),{data:s}=c();return d.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{f as u};
