Skip to content

Commit

Permalink
Update SanityLive.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 21, 2024
1 parent 206656c commit 46f6be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next-canary/src/app/SanityLive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 46f6be9

Please sign in to comment.