address CR feedback
This commit is contained in:
		@@ -805,12 +805,12 @@ export class Blockchain {
 | 
				
			|||||||
        if (!_.isUndefined(this._watchGasPriceIntervalId)) {
 | 
					        if (!_.isUndefined(this._watchGasPriceIntervalId)) {
 | 
				
			||||||
            return; // we are already watching
 | 
					            return; // we are already watching
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        const oneMinuteInMs = 60000;
 | 
				
			||||||
        // tslint:disable-next-line:no-floating-promises
 | 
					        // tslint:disable-next-line:no-floating-promises
 | 
				
			||||||
        this._updateDefaultGasPriceAsync();
 | 
					        this._updateDefaultGasPriceAsync();
 | 
				
			||||||
        this._watchGasPriceIntervalId = intervalUtils.setAsyncExcludingInterval(
 | 
					        this._watchGasPriceIntervalId = intervalUtils.setAsyncExcludingInterval(
 | 
				
			||||||
            this._updateDefaultGasPriceAsync.bind(this),
 | 
					            this._updateDefaultGasPriceAsync.bind(this),
 | 
				
			||||||
            // 1 minute
 | 
					            oneMinuteInMs,
 | 
				
			||||||
            60000,
 | 
					 | 
				
			||||||
            (err: Error) => {
 | 
					            (err: Error) => {
 | 
				
			||||||
                logUtils.log(`Watching gas price failed: ${err.stack}`);
 | 
					                logUtils.log(`Watching gas price failed: ${err.stack}`);
 | 
				
			||||||
                this._stopWatchingGasPrice();
 | 
					                this._stopWatchingGasPrice();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,6 +68,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    public render(): React.ReactNode {
 | 
					    public render(): React.ReactNode {
 | 
				
			||||||
 | 
					        const browserType = utils.getBrowserType();
 | 
				
			||||||
        return (
 | 
					        return (
 | 
				
			||||||
            <OnboardingFlow
 | 
					            <OnboardingFlow
 | 
				
			||||||
                steps={this._getSteps()}
 | 
					                steps={this._getSteps()}
 | 
				
			||||||
@@ -78,7 +79,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp
 | 
				
			|||||||
                disableOverlay={this.props.screenWidth === ScreenWidths.Sm}
 | 
					                disableOverlay={this.props.screenWidth === ScreenWidths.Sm}
 | 
				
			||||||
                isMobile={this.props.screenWidth === ScreenWidths.Sm}
 | 
					                isMobile={this.props.screenWidth === ScreenWidths.Sm}
 | 
				
			||||||
                // This is necessary to ensure onboarding stays open once the user unlocks metamask and clicks away
 | 
					                // This is necessary to ensure onboarding stays open once the user unlocks metamask and clicks away
 | 
				
			||||||
                disableCloseOnClickOutside={utils.getBrowserType() === BrowserType.Firefox}
 | 
					                disableCloseOnClickOutside={browserType === BrowserType.Firefox || browserType === BrowserType.Opera}
 | 
				
			||||||
            />
 | 
					            />
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user