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:
@@ -2,11 +2,7 @@ import React from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import Heading from './heading'
|
||||
|
||||
export default class BlockHeading extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
title: PropTypes.string.isRequired,
|
||||
}
|
||||
class BlockHeading extends React.PureComponent {
|
||||
|
||||
render() {
|
||||
const { title } = this.props
|
||||
@@ -20,4 +16,10 @@ export default class BlockHeading extends React.PureComponent {
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
BlockHeading.propTypes = {
|
||||
title: PropTypes.string.isRequired,
|
||||
}
|
||||
|
||||
export default BlockHeading
|
||||
Reference in New Issue
Block a user