feat: Merge sales branch

This commit is contained in:
Ahmed Bouhuolia
2020-08-19 02:17:23 +02:00
parent c2a60e6ba5
commit b46570dc01
97 changed files with 9901 additions and 48 deletions

View File

@@ -0,0 +1,11 @@
import { connect } from 'react-redux';
import { getEstimateByIdFactory } from 'store/Estimate/estimates.selectors';
export default () => {
const getEstimateById = getEstimateByIdFactory();
const mapStateToProps = (state, props) => ({
estimate: getEstimateById(state, props),
});
return connect(mapStateToProps);
};