Don't run dupes query empty
This commit is contained in:
parent
29bee1c740
commit
259b5b7a36
|
@ -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} />
|
||||
|
|
Loading…
Reference in New Issue