<script lang="ts">
  import {Relays} from "@welshman/app"
  import {app} from "@app/welshman"

  const {...props} = $props()

  const relay = app.use(Relays).one(props.url)
</script>

{#if $relay?.description}
  <p class={props.class}>{$relay.description}</p>
{/if}
