mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
14 lines
358 B
JavaScript
14 lines
358 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
fetchResourceViews,
|
|
} from 'store/customViews/customViews.actions';
|
|
|
|
const mapStateToProps = (state) => ({
|
|
|
|
});
|
|
|
|
const mapActionsToProps = (dispatch) => ({
|
|
fetchResourceViews: (resourceSlug) => dispatch(fetchResourceViews({ resourceSlug })),
|
|
});
|
|
|
|
export default connect(mapStateToProps, mapActionsToProps); |