mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
14 lines
453 B
TypeScript
14 lines
453 B
TypeScript
// @ts-nocheck
|
|
import { connect } from 'react-redux';
|
|
import { getCashFlowStatementFilterDrawer } from '@/store/financialStatement/financialStatements.selectors';
|
|
|
|
export default (mapState) => {
|
|
const mapStateToProps = (state, props) => {
|
|
const mapped = {
|
|
cashFlowStatementDrawerFilter: getCashFlowStatementFilterDrawer(state),
|
|
};
|
|
return mapState ? mapState(mapped, state, props) : mapped;
|
|
};
|
|
return connect(mapStateToProps);
|
|
};
|