Continuing updating the reformatting of propTypes and set redux, intl functions to end of component

• Removing:
- the reformatting of propTypes and set redux, intl functions to end of component
This commit is contained in:
mgabdev
2020-08-17 19:57:35 -05:00
parent 46a0cbca7d
commit ddca693cfc
101 changed files with 2053 additions and 2140 deletions

View File

@@ -25,10 +25,6 @@ class ListDetailsPanel extends ImmutablePureComponent {
onEdit: PropTypes.func.isRequired,
}
updateOnProps = [
'list',
]
render() {
const {
intl,

View File

@@ -40,12 +40,6 @@ class ListsPanel extends ImmutablePureComponent {
fetched: false,
}
updateOnProps = [
'lists',
'isLazy',
'shouldLoad',
]
static getDerivedStateFromProps(nextProps, prevState) {
if (nextProps.shouldLoad && !prevState.fetched) {
return { fetched: true }