import{bI as n,bJ as r,iz as u,r as i}from"./index-_eM6l4Nf.js";const o=t=>{const s=n(),{data:e,isLoading:a}=r(u),c=i.useCallback(()=>{s.jupyter.fetchSettings({projectId:t})},[s,t]);return i.useEffect(()=>{!a&&!e&&s.jupyter.fetchSettings({projectId:t})},[s.jupyter,a,t,e]),{data:e,isLoading:a,refetch:c}};export{o as u};
