import{J as u,r,K as l}from"./index-B-YXshIJ.js";const j=t=>{const{collection:e,project:s}=u(),[a,n]=r.useState("loading"),o=l();return r.useEffect(()=>{t(e,s).then(c=>{n(c),o(c)})},[e,t,s,o]),a};export{j as u};
