Skip to content

Commit

Permalink
fix: refactor to latest canary
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Dec 2, 2024
1 parent f3a60df commit e2a3fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next-canary/src/app/actions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use server'

import type {SyncTag} from '@sanity/client'
import {expireTag} from 'next/cache'
import {unstable_expireTag as expireTag} from 'next/cache'

export async function expireTags(tags: SyncTag[]) {
expireTag(...tags)
Expand Down

0 comments on commit e2a3fa2

Please sign in to comment.