fix(client): adjust the order of props
This commit is contained in:
parent
b398e65c9c
commit
a2f3e1904e
@ -22,11 +22,11 @@ export const RecursionComponent: React.FC<IRecursionComponentProps> = (props) =>
|
||||
return (
|
||||
<SchemaOptionsContext.Provider
|
||||
value={{
|
||||
scope: { ...props.scope, ...scope },
|
||||
components: { ...props.components, ...components },
|
||||
scope: { ...scope, ...props.scope },
|
||||
components: { ...components, ...props.components },
|
||||
}}
|
||||
>
|
||||
<SchemaExpressionScopeContext.Provider value={{ scope }}>
|
||||
<SchemaExpressionScopeContext.Provider value={{ ...scope, ...props.scope }}>
|
||||
<RecursionField {...props} />
|
||||
</SchemaExpressionScopeContext.Provider>
|
||||
</SchemaOptionsContext.Provider>
|
||||
|
Loading…
Reference in New Issue
Block a user