Prefixes live event tags according to the conventions used by defineLive().sanityFetch() so that they can be used with import {updateTag} from 'next/cache'.
defineLive().sanityFetch()
import {updateTag} from 'next/cache'
import {updateTag} from 'next/cache'import {parseTags} from 'next-sanity/live'import {SanityLive} from '#sanity/live<SanityLive action={async (event, context) => { 'use server' for (const tag of parseTags(event.tags, context)) { updateTag(tag) } }}/> Copy
import {updateTag} from 'next/cache'import {parseTags} from 'next-sanity/live'import {SanityLive} from '#sanity/live<SanityLive action={async (event, context) => { 'use server' for (const tag of parseTags(event.tags, context)) { updateTag(tag) } }}/>
Prefixes live event tags according to the conventions used by
defineLive().sanityFetch()so that they can be used withimport {updateTag} from 'next/cache'.