import{bf as c,bh as n,r}from"./index-CK33qGU_.js";import{a as u}from"./jupyter.selectors-B8a5Dlnv.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};
