Skip to content

Commit 902e2db

Browse files
authoredFeb 27, 2025··
fix(core): useDocumentForm update type (#8791)
1 parent 1e1a417 commit 902e2db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎packages/sanity/src/core/form/useDocumentForm.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {type ReleaseId, type SanityDocument} from '@sanity/client'
1+
import {type SanityDocument} from '@sanity/client'
22
import {isActionEnabled} from '@sanity/schema/_internal'
33
import {useTelemetry} from '@sanity/telemetry/react'
44
import {
@@ -28,6 +28,7 @@ import {useEditState} from '../hooks/useEditState'
2828
import {useSchema} from '../hooks/useSchema'
2929
import {useValidationStatus} from '../hooks/useValidationStatus'
3030
import {useTranslation} from '../i18n/hooks/useTranslation'
31+
import {type ReleaseId} from '../perspective/types'
3132
import {isPublishedPerspective} from '../releases/util/util'
3233
import {
3334
type DocumentPresence,

0 commit comments

Comments
 (0)
Please sign in to comment.