shierro/territory-manager

View on GitHub
app/containers/PeopleListPage/actions.js

Summary

Maintainability
A
0 mins
Test Coverage
import {
  handleChangeRowsPerPage,
  handleRequestSort,
  handleChangePage,
} from '../App/actions';

export const pageActions = dispatch => ({
  handleRequestSort: (event, property) => dispatch(handleRequestSort(property)),
  handleChangePage: (event, page) => dispatch(handleChangePage(page)),
  handleChangeRowsPerPage: event =>
    dispatch(handleChangeRowsPerPage(event || { target: {} })),
});