From 4da1defcf858cc1ac0c60b377f11f36b25d24c4f Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 5 Sep 2024 09:06:03 +0600 Subject: [PATCH] web/Omnibox: add missing clipboard input type --- web/src/components/save/Omnibox.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/save/Omnibox.svelte b/web/src/components/save/Omnibox.svelte index 1b3c117d..d73b9474 100644 --- a/web/src/components/save/Omnibox.svelte +++ b/web/src/components/save/Omnibox.svelte @@ -70,7 +70,7 @@ return; } - navigator.clipboard.readText().then(async (text) => { + navigator.clipboard.readText().then(async (text: string) => { let matchLink = text.match(/https:\/\/[^\s]+/g); if (matchLink) { $link = matchLink[0];