WIP / Features / Sate

This commit is contained in:
elforjani3
2020-07-27 02:39:26 +02:00
parent 56278a25f0
commit 4f2679592f
51 changed files with 4515 additions and 44 deletions

View File

@@ -0,0 +1,11 @@
import { connect } from 'react-redux';
import { getInvoiceById } from 'store/Invoice/invoices.selector';
export default () => {
const getInvoiceById = getInvoiceById();
const mapStateToProps = (state, props) => ({
invoice: getInvoiceById(state, props),
});
return connect(mapStateToProps);
};