Backport changes from WordPress/gutenberg/pull/65090
This commit is contained in:
parent
23f0d96a18
commit
94251407b3
|
@ -290,11 +290,10 @@ export default () => {
|
||||||
currentValue.current,
|
currentValue.current,
|
||||||
deepClone( value ) as object
|
deepClone( value ) as object
|
||||||
);
|
);
|
||||||
currentValue.current = proxifyContext(
|
result[ namespace ] = proxifyContext(
|
||||||
currentValue.current,
|
currentValue.current,
|
||||||
inheritedValue[ namespace ]
|
inheritedValue[ namespace ]
|
||||||
);
|
);
|
||||||
result[ namespace ] = currentValue.current;
|
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}, [ defaultEntry, inheritedValue ] );
|
}, [ defaultEntry, inheritedValue ] );
|
||||||
|
|
Loading…
Reference in New Issue