Skip to content

import {defineLive} from 'next-sanity/live' #1795

@gustawdaniel

Description

@gustawdaniel

In your radiant template (typescript) use

import {defineLive} from 'next-sanity/live'

instead of

import {defineLive} from 'next-sanity'

Link: https://github.com/sanity-io/next-sanity?tab=readme-ov-file#live-content-api

or like in sanity-io/next-sanity#1949

from @sanity/next-loader if you will decide to update packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions