mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
import { connect } from 'react-redux';
|
||||
import {
|
||||
getItemCategoryByIdFactory,
|
||||
} from 'store/itemCategories/ItemsCategories.selectors';
|
||||
import { getItemCategoryByIdFactory } from 'store/itemCategories/ItemsCategories.selectors';
|
||||
|
||||
export default () => {
|
||||
const getCategoryId = getItemCategoryByIdFactory();
|
||||
|
||||
const mapStateToProps = (state, props) => {
|
||||
return {
|
||||
itemCategory: getCategoryId(state, props),
|
||||
itemCategoryDetail: getCategoryId(state, props),
|
||||
};
|
||||
};
|
||||
};
|
||||
return connect(mapStateToProps);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user