<script>
  import { _ } from "svelte-i18n";
  export let address;
</script>

{#if !address || !address.address1}
  {$_("no-address")}
{:else}
  {address.address1}<br />
  <!-- {address.address2 || ''}<br /> -->
  {address.postalcode}
  {address.city}
  {address.country}
{/if}
