Provide system as props to OAS3 wrapper components
This commit is contained in:
@@ -12,7 +12,7 @@ export function OAS3ComponentWrapFactory(Component) {
|
||||
const spec = system.specSelectors.specJson().toJS()
|
||||
|
||||
if(isOAS3(spec)) {
|
||||
return <Component {...props} Ori={Ori}></Component>
|
||||
return <Component {...props} {...system} Ori={Ori}></Component>
|
||||
} else {
|
||||
return <Ori {...props}></Ori>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user