diff --git a/packages/sanity/src/core/config/types.ts b/packages/sanity/src/core/config/types.ts index 141ba29b3ca..a1c46dce3fa 100644 --- a/packages/sanity/src/core/config/types.ts +++ b/packages/sanity/src/core/config/types.ts @@ -536,8 +536,6 @@ export interface DocumentActionsContext extends ConfigContext { bundleId?: string /** the perspective (version) of the open document */ perspective?: DocumentActionsPerspective - /** the revision id of the open document */ - revisionDisplay?: string } /** diff --git a/packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx b/packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx index 5da7c07b005..5103b38d13f 100644 --- a/packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx +++ b/packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx @@ -188,10 +188,9 @@ export const DocumentPaneProvider = memo((props: DocumentPaneProviderProps) => { schemaType: documentType, documentId, perspective: actionsPerspective, - _rev: value._rev, ...(bundlePerspective && {bundleId: bundlePerspective}), }), - [actionsPerspective, bundlePerspective, documentId, documentType, value._rev], + [actionsPerspective, bundlePerspective, documentId, documentType], ) // Resolve document actions