Skip to content

Commit

Permalink
fix(core): document store cache memo not working (#7530)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin authored Sep 23, 2024
1 parent 7183b24 commit 8c677c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sanity/src/core/store/_legacy/datastores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand Down

0 comments on commit 8c677c2

Please sign in to comment.