Update revalidate function

This commit is contained in:
Henrik Larsson
2023-08-25 08:52:59 +02:00
parent 20caffdce3
commit 93ba85fbf5
2 changed files with 4 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ export function getMainMenu(locale: string) {
return sanityFetch<MainMenuPayload | null>({
query: mainMenuQuery,
params: { locale },
tags: ['menu'],
tags: ['category'],
})
}
@@ -104,6 +104,6 @@ export function getFooterMenus(locale: string) {
return sanityFetch<FooterMenusPayload | null>({
query: footerMenusQuery,
params: { locale },
tags: ['menu'],
tags: ['footerMenu'],
})
}