{#if wsState.closed} {/if} {#if !wsState.connected && !wsState.closed}{/if} {@render children?.()}