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]="29a709d5-e3ee-4f3d-ad76-d4da3953446e",e._sentryDebugIdIdentifier="sentry-dbid-29a709d5-e3ee-4f3d-ad76-d4da3953446e")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"5d40e988866bc1ced9436c4523b12b814ae5cda9"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6333],{96333:(e,d,n)=>{n.r(d),n.d(d,{default:()=>b});var o=n(96540),s=n(97665),t=n(99275),l=n(29022),a=n(79748),f=n(61841),i=n(81391),r=n(19186),u=n(37617),c=n(74848);const b=()=>{const[e,d]=(0,f.Ay)(),{path:n}=(0,u.A)(),b=(0,i.n)("id"),p=(0,r.wz)(b,"loaded"),y=(0,r.wz)(b,"nodeCount"),h=(0,s.Zp)();return(0,o.useEffect)((()=>{p&&0==y&&h(n,{replace:!0})}),[p,y,n,h]),p?(0,c.jsxs)(l.A,{title:"Empty room",children:[(0,c.jsx)(t.Text,{children:"This room has no nodes."}),(0,c.jsxs)(t.Text,{children:["Go to"," ",(0,c.jsx)(a.A,{as:s.N_,to:`/spaces/${e}/settings/rooms/${d}?tab=nodes`,children:"room settings"})," ","and add some nodes."]})]}):null}}}]);