import{aD as c,aL as n,r}from"./index-dP1W1_bd.js";import{J as u}from"./Project-CsYwwOpN.js";const p=t=>{const s=c(),{data:e,isLoading:a}=n(u),i=r.useCallback(()=>{s.jupyter.fetchSettings({projectId:t})},[s,t]);return r.useEffect(()=>{!a&&!e&&s.jupyter.fetchSettings({projectId:t})},[s.jupyter,a,t,e]),{data:e,isLoading:a,refetch:i}};export{p as u};
