Fix create ordered children helper function (#36831)
* Still pass injectProps into child props for slot fill helper * Add changelog
This commit is contained in:
parent
465b3d0dd5
commit
f615c58714
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fix issue were Options tab was not showing up anymore in new product management screen.
|
|
@ -44,7 +44,7 @@ function getChildrenAndProps< T = Fill.Props, S = Record< string, unknown > >(
|
|||
}
|
||||
return {
|
||||
children: children as React.ReactElement< ChildrenProps >,
|
||||
props: { order },
|
||||
props: { order, ...injectProps },
|
||||
};
|
||||
}
|
||||
throw Error( 'Invalid children type' );
|
||||
|
|
Loading…
Reference in New Issue