Skip to content

Commit

Permalink
Upgrades: Remove willReceiveProps siteId checks in MapDomain (#13399)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Apr 27, 2017
1 parent cd0d9b4 commit 8e55faf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/my-sites/upgrades/map-domain/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ export class MapDomain extends Component {
}

componentWillReceiveProps( nextProps ) {
if ( nextProps.selectedSiteId !== this.props.selectedSiteId ) {
this.checkSiteIsUpgradeable( nextProps );
}
this.checkSiteIsUpgradeable( nextProps );
}

checkSiteIsUpgradeable( props ) {
Expand Down

0 comments on commit 8e55faf

Please sign in to comment.