Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#2399] chore: hardcode TablePaginationAction proptypes #2551

Conversation

phacks
Copy link
Contributor

@phacks phacks commented Nov 21, 2018

See #2399 for context.

The import

import TablePaginationActions from '@material-ui/core/TablePaginationActions';

does not work anymore in material-ui’s more recent versions, as per
mui/material-ui#13524.

This commit makes transitioning from [email protected] to [email protected] easier.

@phacks phacks force-pushed the 2399-hardcode-tablepaginationaction-proptypes branch from 35e494e to 648081f Compare November 21, 2018 08:03
The import

```
import TablePaginationActions from '@material-ui/core/TablePaginationActions';
```

does not work anymore in material-ui’s more recent versions, as per
mui/material-ui#13524.

This commit makes transitioning from `[email protected]` to `3.5.1` easier.
@phacks phacks force-pushed the 2399-hardcode-tablepaginationaction-proptypes branch from 648081f to 46eaf60 Compare November 21, 2018 08:12
@fzaninotto
Copy link
Member

weird, some tests are failing which are not related to your PR. But it seems you definitely broke one test.

@phacks
Copy link
Contributor Author

phacks commented Nov 21, 2018

Looks like I forgot to import PropTypes from 'prop-types';, my morning coffee hadn’t kicked in yet 😅

Tests are all good now.

@fzaninotto fzaninotto merged commit cf4cb89 into marmelab:master Nov 21, 2018
@phacks phacks deleted the 2399-hardcode-tablepaginationaction-proptypes branch November 21, 2018 08:56
@fzaninotto fzaninotto added this to the v2.4.3 milestone Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants