]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/DetailsLink.svelte
Svelte 4.0 trigger a new linter warning
[nominatim-ui.git] / src / components / DetailsLink.svelte
index d91407945207b2399f25132b7bfb0bd003663b5c..17851799d3357f55715faa20a3e65d4be80a5b8c 100644 (file)
@@ -49,4 +49,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>