import{bW as n,bX as r,jp as u,r as c}from"./index-DHiyXWqE.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};
