mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Add blocking fallback to pages (#357)
* Update [...pages].tsx * Fix provider config overwrite * Shopify changes
This commit is contained in:
@@ -38,7 +38,9 @@ export default function getAllPagesOperation({
|
||||
preview?: boolean
|
||||
query?: string
|
||||
} = {}): Promise<T['data']> {
|
||||
const { fetch, locale, locales = ['en-US'] } = commerce.getConfig(config)
|
||||
const { fetch, locale, locales = ['en-US', 'es'] } = commerce.getConfig(
|
||||
config
|
||||
)
|
||||
|
||||
const { data } = await fetch<GetAllPagesQuery, GetAllPagesQueryVariables>(
|
||||
query,
|
||||
|
Reference in New Issue
Block a user