Files
bigcapital/packages/webapp/src/containers/FinancialStatements/ProfitLossSheet/withProfitLossActions.tsx
2023-02-03 01:02:31 +02:00

11 lines
360 B
TypeScript

// @ts-nocheck
import { connect } from 'react-redux';
import { toggleProfitLossFilterDrawer } from '@/store/financialStatement/financialStatements.actions';
export const mapDispatchToProps = (dispatch) => ({
toggleProfitLossFilterDrawer: (toggle) =>
dispatch(toggleProfitLossFilterDrawer(toggle)),
});
export default connect(null, mapDispatchToProps);