mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
13 lines
362 B
JavaScript
13 lines
362 B
JavaScript
import { connect } from 'react-redux';
|
|
import { submitRegister } from 'store/registers/register.action';
|
|
|
|
export const mapStateToProps = (state, props) => {
|
|
return {};
|
|
};
|
|
|
|
export const mapDispatchToProps = (dispatch) => ({
|
|
requestSubmitRegister: (form) => dispatch(submitRegister({ form })),
|
|
});
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps);
|