Key links by URL as the svelte-spa-router link svelte action does not update correctly

This commit is contained in:
Andrew Kingston 2021-12-08 08:35:19 +00:00
parent 2c081c6557
commit cb1f870831
1 changed files with 14 additions and 12 deletions

View File

@ -79,6 +79,7 @@
{componentText}
</a>
{:else}
{#key url}
<a
use:linkable
href={url || "/"}
@ -91,6 +92,7 @@
>
{componentText}
</a>
{/key}
{/if}
{/if}