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:
@@ -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
|
||||
Reference in New Issue
Block a user