]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/PageLink.svelte
svelte 4.x => 5.0
[nominatim-ui.git] / src / components / PageLink.svelte
index df124f70e7e0a69e313e22712b76f02557e25fdb..0e2920aaa04e97fe305be07e0b814ec81c3e95c6 100644 (file)
@@ -16,4 +16,6 @@
   }
 </script>
 
-<a on:click|preventDefault|stopPropagation={handleClick} href={href} class={extra_classes}><slot></slot></a>
+<a on:click|preventDefault|stopPropagation={handleClick} href={href} class={extra_classes}>
+  <slot></slot>
+</a>