Skip to content

best way to save what you love

web/Omnibox: add missing clipboard input type

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