diff --git a/examples/svelte/src/routes/custom-connection-line/ConnectionLine.svelte b/examples/svelte/src/routes/custom-connection-line/ConnectionLine.svelte index 20ac6192..23d8653d 100644 --- a/examples/svelte/src/routes/custom-connection-line/ConnectionLine.svelte +++ b/examples/svelte/src/routes/custom-connection-line/ConnectionLine.svelte @@ -5,7 +5,5 @@ {#if $connection.path} - - - + {/if} diff --git a/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte b/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte index f8ddc5b3..4635dad5 100644 --- a/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte +++ b/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte @@ -12,11 +12,12 @@ {#if $connection.path} - - {#if !usingCustomLine} - + + + + {#if !usingCustomLine} - - {/if} + {/if} + {/if}