Skip to content

Commit

Permalink
fix(core): document store cache memo not working
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Sep 20, 2024
1 parent 4729e84 commit 580630d
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 580630d

Please sign in to comment.