mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
11 lines
364 B
JavaScript
11 lines
364 B
JavaScript
import { connect } from 'react-redux';
|
|
import { getManualJournalByIdFactory } from 'store/manualJournals/manualJournals.selectors';
|
|
|
|
export default () => {
|
|
const getManualJournalById = getManualJournalByIdFactory();
|
|
|
|
const mapStateToProps = (state, props) => ({
|
|
manualJournal: getManualJournalById(state, props),
|
|
});
|
|
return connect(mapStateToProps);
|
|
}; |