Remove missing href warnings

This commit is contained in:
Niek van der Maas
2023-03-03 15:06:24 +01:00
parent c98d83c2ef
commit 2608ad32e6
2 changed files with 11 additions and 7 deletions

View File

@@ -62,10 +62,10 @@
{#if apiKey}
<article class="message is-info">
<div class="message-body">
<!-- svelte-ignore a11y-missing-attribute a11y-click-events-have-key-events -->
Select an existing chat on the sidebar, or
<a
on:click={() => {
href={"#"}
on:click|preventDefault={() => {
activeChatId = addChat();
}}>create a new chat</a
>