network-only fetch for link title
This commit is contained in:
parent
945225d205
commit
4421dd6e6e
@ -29,7 +29,9 @@ export function LinkForm ({ item, editThreshold }) {
|
||||
const [getPageTitle, { data }] = useLazyQuery(gql`
|
||||
query PageTitle($url: String!) {
|
||||
pageTitle(url: $url)
|
||||
}`)
|
||||
}`, {
|
||||
fetchPolicy: 'network-only'
|
||||
})
|
||||
const router = useRouter()
|
||||
const [createLink] = useMutation(
|
||||
gql`
|
||||
|
Loading…
x
Reference in New Issue
Block a user