Describe the Bug
Using GraphQLProvider with props link which has value [recaptchaLink] in _app.tsx probably leads to error Uncaught (in promise) ApolloError while mutation


I am not 100% sure that this is the root of the Apollo issue, but immediately after we removed recaptchaLink the issue Uncaught (in promise) ApolloError disappeared
GraphQLProvider from '@graphcommerce/graphql'
"@graphcommerce/graphql": "6.1.0"
recaptchaLink from '@graphcommerce/googlerecaptcha/link/recaptchaLink'
"@graphcommerce/googlerecaptcha": "6.1.0"
"@graphcommerce/graphql": "6.1.0"
Expected Behavior
Using GraphQLProvider with props link which has value [recaptchaLink] in _app.tsx should not lead to unexpected bug
To Reproduce
Add to _app.tsx
import { recaptchaLink } from '@graphcommerce/googlerecaptcha/link/recaptchaLink'
import { GraphQLProvider } from '@graphcommerce/graphql'
****
return (
<>
****
<GraphQLProvider {...props} links={[recaptchaLink]}>
****
</GraphQLProvider>
****
</>
)
and add googleRecaptchaKey to graphcommerce.config.js
Describe the Bug
Using GraphQLProvider with props
linkwhich has value[recaptchaLink]in _app.tsx probably leads to errorUncaught (in promise) ApolloError while mutationI am not 100% sure that this is the root of the Apollo issue, but immediately after we removed
recaptchaLinkthe issueUncaught (in promise) ApolloErrordisappearedExpected Behavior
Using GraphQLProvider with props
linkwhich has value[recaptchaLink]in _app.tsx should not lead to unexpected bugTo Reproduce
Add to _app.tsx
and add googleRecaptchaKey to graphcommerce.config.js