From 06652f8131c7f58fa84a442e58c729e18125f811 Mon Sep 17 00:00:00 2001 From: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com> Date: Thu, 17 Jun 2021 10:24:56 -0700 Subject: [PATCH] Remove extraneous dependency --- packages/components/src/ui/context/context-system-provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/ui/context/context-system-provider.js b/packages/components/src/ui/context/context-system-provider.js index 41a217f13d5538..2de5762a25bde3 100644 --- a/packages/components/src/ui/context/context-system-provider.js +++ b/packages/components/src/ui/context/context-system-provider.js @@ -61,7 +61,7 @@ function useContextSystemBridge( { value } ) { ) { warn( `Please memoize your context: ${ JSON.stringify( value ) }` ); } - }, [ parentContext, value ] ); + }, [ value ] ); // parent context will always be memoized or the default value (which will not change) // so this memoization will prevent `merge` and `cloneDeep` from rerunning unless