You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The defineLive function appears to be missing from next-sanity package version 9.8.16, causing TypeScript compilation errors when trying to implement live preview functionality.
Attempt to use it to set up live preview functionality
Observe TypeScript error indicating the function is not found
Expected behavior defineLive should be available as an import from 'next-sanity' to enable live preview functionality with proper type support.
Which versions of Sanity are you using?
@sanity/client: 9.8.16
next-sanity: 9.8.16
What operating system are you using?
[User should fill this in]
Which versions of Node.js / npm are you running?
[User should fill this in]
Additional context
This issue appears when trying to implement visual editing and live preview functionality following the Sanity documentation. The defineLive function is referenced in documentation but appears to be missing from the package exports.
Code that fails:
import{defineLive}from'next-sanity'// Cannot find 'defineLive' in 'next-sanity'
The text was updated successfully, but these errors were encountered:
[bug] defineLive missing in v9.8.16
Describe the bug
The
defineLive
function appears to be missing fromnext-sanity
package version 9.8.16, causing TypeScript compilation errors when trying to implement live preview functionality.To Reproduce
[email protected]
defineLive
from 'next-sanity'Expected behavior
defineLive
should be available as an import from 'next-sanity' to enable live preview functionality with proper type support.Which versions of Sanity are you using?
@sanity/client: 9.8.16
next-sanity: 9.8.16
What operating system are you using?
[User should fill this in]
Which versions of Node.js / npm are you running?
[User should fill this in]
Additional context
This issue appears when trying to implement visual editing and live preview functionality following the Sanity documentation. The
defineLive
function is referenced in documentation but appears to be missing from the package exports.Code that fails:
The text was updated successfully, but these errors were encountered: