mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
13 lines
493 B
JavaScript
13 lines
493 B
JavaScript
import {connect} from 'react-redux';
|
|
import {
|
|
fetchJournalSheet,
|
|
refreshJournalSheet,
|
|
} from 'store/financialStatement/financialStatements.actions';
|
|
|
|
export const mapDispatchToProps = (dispatch) => ({
|
|
requestFetchJournalSheet: (query) => dispatch(fetchJournalSheet({ query })),
|
|
toggleJournalSheetFilter: () => dispatch({ type: 'JOURNAL_FILTER_TOGGLE' }),
|
|
refreshJournalSheet: (refresh) => dispatch(refreshJournalSheet(refresh)),
|
|
});
|
|
|
|
export default connect(null, mapDispatchToProps); |