From cb1f87083195399b7beb0469461c2341c4df8ca0 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 8 Dec 2021 08:35:19 +0000 Subject: [PATCH] Key links by URL as the svelte-spa-router link svelte action does not update correctly --- .../client/src/components/app/Link.svelte | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/client/src/components/app/Link.svelte b/packages/client/src/components/app/Link.svelte index 851b2f0b66..91537b5b38 100644 --- a/packages/client/src/components/app/Link.svelte +++ b/packages/client/src/components/app/Link.svelte @@ -79,18 +79,20 @@ {componentText} {:else} - - {componentText} - + {#key url} + + {componentText} + + {/key} {/if} {/if}