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

@@ -7,13 +7,7 @@ import {
StatusPromotionPanel
} from '../features/ui/util/async_components'
export default class SidebarPanelGroup extends React.PureComponent {
static propTypes = {
layout: PropTypes.array.isRequired,
page: PropTypes.string.isRequired,
promotion: PropTypes.object,
}
class SidebarPanelGroup extends React.PureComponent {
render() {
const { layout, page } = this.props
@@ -56,4 +50,12 @@ export default class SidebarPanelGroup extends React.PureComponent {
)
}
}
}
SidebarPanelGroup.propTypes = {
layout: PropTypes.array.isRequired,
page: PropTypes.string.isRequired,
promotion: PropTypes.object,
}
export default SidebarPanelGroup