try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="a8311b17-ff1d-4185-bc78-011f48058a29",e._sentryDebugIdIdentifier="sentry-dbid-a8311b17-ff1d-4185-bc78-011f48058a29")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"a34c67398217da8f13771210ac9af709452b2a25"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6333],{96333:(e,d,n)=>{n.r(d),n.d(d,{default:()=>c});var o=n(96540),s=n(15920),t=n(65258),f=n(29022),l=n(79748),a=n(61841),i=n(81391),r=n(19186),u=n(37617),b=n(74848);const c=()=>{const[e,d]=(0,a.Ay)(),{path:n}=(0,u.A)(),c=(0,i.n)("id"),p=(0,r.wz)(c,"loaded"),y=(0,r.wz)(c,"nodeCount"),h=(0,s.Zp)();return(0,o.useEffect)((()=>{p&&0==y&&h(n,{replace:!0})}),[p,y,n,h]),p?(0,b.jsxs)(f.A,{title:"Empty room",children:[(0,b.jsx)(t.Text,{children:"This room has no nodes."}),(0,b.jsxs)(t.Text,{children:["Go to"," ",(0,b.jsx)(l.A,{as:s.N_,to:`/spaces/${e}/settings/rooms/${d}?tab=nodes`,children:"room settings"})," ","and add some nodes."]})]}):null}}}]);