diff --git a/next-canary/src/app/SanityLive.tsx b/next-canary/src/app/SanityLive.tsx index f100a20..9d7c18b 100644 --- a/next-canary/src/app/SanityLive.tsx +++ b/next-canary/src/app/SanityLive.tsx @@ -16,7 +16,7 @@ export function SanityLive() { if (event.type === 'welcome') { console.info('Sanity is live with automatic invalidation of published content') } else if (event.type === 'message') { - expireTags(event.tags).then(() => router.refresh()) + expireTags(event.tags) } else if (event.type === 'restart') { router.refresh() }