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:
@@ -25,10 +25,6 @@ class ListDetailsPanel extends ImmutablePureComponent {
|
||||
onEdit: PropTypes.func.isRequired,
|
||||
}
|
||||
|
||||
updateOnProps = [
|
||||
'list',
|
||||
]
|
||||
|
||||
render() {
|
||||
const {
|
||||
intl,
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user