Updated PureComponent usage
This commit is contained in:
@@ -28,7 +28,7 @@ const links = [
|
||||
export default
|
||||
@injectIntl
|
||||
@withRouter
|
||||
class FooterBar extends React.PureComponent {
|
||||
class FooterBar extends PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
intl: PropTypes.object.isRequired,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { monthlyExpensesComplete } from '../../initial_state';
|
||||
|
||||
export default class ProgressPanel extends React.PureComponent {
|
||||
export default class ProgressPanel extends PureComponent {
|
||||
render() {
|
||||
if (!monthlyExpensesComplete) return null;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ const mapStateToProps = (state, { id }) => ({
|
||||
});
|
||||
|
||||
@connect(mapStateToProps)
|
||||
export default class StatusQuote extends React.PureComponent {
|
||||
export default class StatusQuote extends PureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
router: PropTypes.object,
|
||||
|
||||
Reference in New Issue
Block a user