Backport changes from WordPress/gutenberg/pull/65090

This commit is contained in:
David Arenas 2024-09-06 18:03:27 +02:00 committed by Tung Du
parent 23f0d96a18
commit 94251407b3
1 changed files with 1 additions and 2 deletions

View File

@ -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 ] );