Skip to content

Commit

Permalink
fix(backoffice-v2): added missing useCallback dependencies (#1765)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy authored Dec 6, 2023
1 parent 722446c commit 0dc4a23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const useDirectorsBlocks = (
documentsToReset.forEach(document => {
mutate({ documentId: document.id, contextUpdateMethod: 'director' });
});
}, []);
}, [documents, mutate]);

const blocks = useMemo(() => {
return directors
Expand Down

0 comments on commit 0dc4a23

Please sign in to comment.