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