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];