Skip to content

Commit

Permalink
fix: use publishedId from 'sanity'
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Nov 4, 2024
1 parent aa0cc9c commit ee75333
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import type {UnresolvedPath} from '@repo/visual-editing-helpers'
import type {ClientPerspective} from '@sanity/client'
import {getPublishedId} from '@sanity/client/csm'
import {useRootTheme} from '@sanity/ui'
import {memo, useEffect} from 'react'
import {API_VERSION} from '../../constants'
import {useClient, useWorkspace} from '../../internals'
import {getPublishedId, useClient, useWorkspace} from '../../internals'
import {getBundlePerspective} from '../../loader/utils'
import type {VisualEditingConnection} from '../../types'
import {extractSchema} from './extract'
Expand Down

0 comments on commit ee75333

Please sign in to comment.