Don't run dupes query empty

This commit is contained in:
ekzyis 2023-04-01 05:21:05 +02:00 committed by keyan
parent 29bee1c740
commit 259b5b7a36
1 changed files with 4 additions and 3 deletions

View File

@ -124,9 +124,10 @@ export function LinkForm ({ item, editThreshold }) {
variables: { url: e.target.value }
})
}
getDupes({
variables: { url: e.target.value }
})
if (e.target.value)
getDupes({
variables: { url: e.target.value }
})
}}
/>
<AdvPostForm edit={!!item} />