From afbc4989d512d3dcc24a7cbc29e96afaae3acdc0 Mon Sep 17 00:00:00 2001 From: fragosti Date: Fri, 6 Jul 2018 11:23:41 -0700 Subject: address CR feedback --- packages/website/ts/blockchain.ts | 4 ++-- packages/website/ts/components/onboarding/portal_onboarding_flow.tsx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts index efeeafe32..169d01ecb 100644 --- a/packages/website/ts/blockchain.ts +++ b/packages/website/ts/blockchain.ts @@ -805,12 +805,12 @@ export class Blockchain { if (!_.isUndefined(this._watchGasPriceIntervalId)) { return; // we are already watching } + const oneMinuteInMs = 60000; // tslint:disable-next-line:no-floating-promises this._updateDefaultGasPriceAsync(); this._watchGasPriceIntervalId = intervalUtils.setAsyncExcludingInterval( this._updateDefaultGasPriceAsync.bind(this), - // 1 minute - 60000, + oneMinuteInMs, (err: Error) => { logUtils.log(`Watching gas price failed: ${err.stack}`); this._stopWatchingGasPrice(); diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx index e3072b9b4..503f2163d 100644 --- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx +++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx @@ -68,6 +68,7 @@ class PlainPortalOnboardingFlow extends React.Component ); } -- cgit