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:
@@ -4,11 +4,7 @@ import PropTypes from 'prop-types'
|
||||
/**
|
||||
* Renders a block component
|
||||
*/
|
||||
export default class Block extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
children: PropTypes.any,
|
||||
}
|
||||
class Block extends React.PureComponent {
|
||||
|
||||
render() {
|
||||
const { children } = this.props
|
||||
@@ -20,4 +16,10 @@ export default class Block extends React.PureComponent {
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Block.propTypes = {
|
||||
children: PropTypes.any,
|
||||
}
|
||||
|
||||
export default Block
|
||||
Reference in New Issue
Block a user