From b45f8c7129ee446c75a89508ee41b5117330e46b Mon Sep 17 00:00:00 2001 From: wuyudi Date: Wed, 8 Feb 2023 22:43:15 +0900 Subject: [PATCH] suppress a11y warning --- src/App.svelte | 6 +++--- src/Name.svelte | 23 ++++++++++++----------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 181b5f1..7a6635d 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -13,8 +13,8 @@ let result: { messages: { from_name: string; - t; - edited; + t: any; + edited: any; group_id: string; id: string; from_id: string; @@ -103,7 +103,7 @@ } } - async function do_search(more?: HTMLMouseEventHandler) { + async function do_search(more?: any) { abort.abort(); abort = new AbortController(); if (!group && !islocal) { diff --git a/src/Name.svelte b/src/Name.svelte index ca0399a..d83d849 100644 --- a/src/Name.svelte +++ b/src/Name.svelte @@ -144,17 +144,18 @@ alt="" src="{url}/avatar/{selected ? selected : 'nobody'}.jpg" /> -