Test revalidation

This commit is contained in:
Henrik Larsson
2023-08-24 07:43:00 +02:00
parent a61d140ef3
commit 3f0bd3e08a
3 changed files with 95 additions and 32 deletions

View File

@@ -56,7 +56,7 @@ export function getHomePage(locale: string) {
return sanityFetch<HomePagePayload | null>({
query: homePageQuery,
params: { locale },
tags: ['home', 'products', 'categories', 'page', 'menu'],
tags: ['home', 'product', 'category', 'page', 'menu'],
})
}