Skip to content

Commit 00e3973

Browse files
gemini: add missing useCallback dependency
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Matt Cowley <[email protected]>
1 parent f98741a commit 00e3973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/context/use-context-mutator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function useContextMutator(options: ContextMutationOptions = { defaultCon
4747
}
4848
previousContext.current = resolvedContext;
4949
}
50-
}, [domain]);
50+
}, [domain, options?.defaultContext]);
5151

5252
return {
5353
setContext,

0 commit comments

Comments
 (0)