mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
17 lines
563 B
JavaScript
17 lines
563 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
fetchOrganizations,
|
|
buildTenant,
|
|
seedTenant,
|
|
setOrganizationSetupCompleted,
|
|
} from 'store/organizations/organizations.actions';
|
|
|
|
const mapDispatchToProps = (dispatch) => ({
|
|
requestOrganizationBuild: () => dispatch(buildTenant()),
|
|
requestOrganizationSeed: () => dispatch(seedTenant()),
|
|
requestAllOrganizations: () => dispatch(fetchOrganizations()),
|
|
|
|
setOrganizationSetupCompleted: (congrats) => dispatch(setOrganizationSetupCompleted(congrats)),
|
|
});
|
|
|
|
export default connect(null, mapDispatchToProps); |