Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const mapStateToProps = (state, ownProps) => {
const path = composeWithUi(ownProps.uischema, ownProps.path);
return {
data: resolveData(getData(state), path),
uischema: ownProps.uischema,
schema: ownProps.schema,
path
};
};