diff --git a/packages/sanity/src/core/store/_legacy/datastores.ts b/packages/sanity/src/core/store/_legacy/datastores.ts index c86b76bcede..7ffdb613093 100644 --- a/packages/sanity/src/core/store/_legacy/datastores.ts +++ b/packages/sanity/src/core/store/_legacy/datastores.ts @@ -159,7 +159,7 @@ export function useDocumentStore(): DocumentStore { resourceCache.set({ namespace: 'documentStore', - dependencies: [getClient, documentPreviewStore, historyStore, schema, i18n], + dependencies: [getClient, documentPreviewStore, historyStore, schema, i18n, workspace], value: documentStore, })