mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 11:41:23 +00:00
Moved auth & cart hooks + several fixes
This commit is contained in:
@@ -8,6 +8,7 @@ const fetchGraphqlApi: GraphQLFetcher = async (
|
||||
{ variables, preview } = {},
|
||||
fetchOptions
|
||||
) => {
|
||||
// log.warn(query)
|
||||
const config = getConfig()
|
||||
const res = await fetch(config.commerceUrl + (preview ? '/preview' : ''), {
|
||||
...fetchOptions,
|
||||
|
Reference in New Issue
Block a user