mirror of
https://github.com/vercel/commerce.git
synced 2025-06-04 23:36:58 +00:00
forcing a no-cache for the online store menus since there are no webhooks to update them
This commit is contained in:
parent
556aa77649
commit
4f7309b87f
@ -343,7 +343,7 @@ export async function getCollections(): Promise<Collection[]> {
|
||||
export async function getMenu(handle: string): Promise<Menu[]> {
|
||||
const res = await shopifyFetch<ShopifyMenuOperation>({
|
||||
query: getMenuQuery,
|
||||
tags: [TAGS.collections],
|
||||
cache: 'no-store',
|
||||
variables: {
|
||||
handle
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user