mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
24 lines
677 B
JavaScript
24 lines
677 B
JavaScript
|
|
// import { connect } from 'react-redux';
|
|
// import {
|
|
// submitItemCategory,
|
|
// submitCategory,
|
|
// fetchCategory
|
|
// } from 'store/itemCategories/itemsCategory.actions';
|
|
|
|
// export const mapStateToProps = (state, props) => {
|
|
// return {
|
|
// category: state.category,
|
|
// name: 'item-form',
|
|
// payload: { action: 'new', id: null }
|
|
// };
|
|
// };
|
|
|
|
// export const mapDispatchToProps = dispatch => ({
|
|
// submitItemCategory: form => dispatch(submitItemCategory({ form })),
|
|
// submitCategory: form => dispatch(submitCategory({ form })),
|
|
// fetchCategory: () => dispatch(fetchCategory())
|
|
// });
|
|
|
|
// export default connect(mapStateToProps, mapDispatchToProps);
|