From 8e55faf05833a22a3f95fce2209f83f87ef8b0ff Mon Sep 17 00:00:00 2001 From: Marin Atanasov Date: Thu, 27 Apr 2017 11:38:06 +0300 Subject: [PATCH] Upgrades: Remove willReceiveProps siteId checks in MapDomain (#13399) --- client/my-sites/upgrades/map-domain/index.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/my-sites/upgrades/map-domain/index.jsx b/client/my-sites/upgrades/map-domain/index.jsx index 11a0af4873414..2a2e42b6fd89c 100644 --- a/client/my-sites/upgrades/map-domain/index.jsx +++ b/client/my-sites/upgrades/map-domain/index.jsx @@ -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 ) {