diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-11-09 16:42:50 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-11-10 08:04:29 +0800 |
commit | 38896c9358c07d722b2a24d458e6c949b802fa37 (patch) | |
tree | 43fe5262fbe6e2ee4e9b19e34ac6784f9eab1a7b /packages/instant/src/components/zero_ex_instant_provider.tsx | |
parent | 26cbe7ae6646d97c286e58756c23a93de32ae37b (diff) | |
download | dexon-0x-contracts-38896c9358c07d722b2a24d458e6c949b802fa37.tar dexon-0x-contracts-38896c9358c07d722b2a24d458e6c949b802fa37.tar.gz dexon-0x-contracts-38896c9358c07d722b2a24d458e6c949b802fa37.tar.bz2 dexon-0x-contracts-38896c9358c07d722b2a24d458e6c949b802fa37.tar.lz dexon-0x-contracts-38896c9358c07d722b2a24d458e6c949b802fa37.tar.xz dexon-0x-contracts-38896c9358c07d722b2a24d458e6c949b802fa37.tar.zst dexon-0x-contracts-38896c9358c07d722b2a24d458e6c949b802fa37.zip |
feat(instant): handle privacy mode in wallets
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_provider.tsx')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_provider.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx index 11f867abc..411f118cc 100644 --- a/packages/instant/src/components/zero_ex_instant_provider.tsx +++ b/packages/instant/src/components/zero_ex_instant_provider.tsx @@ -98,7 +98,6 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider // tslint:disable-next-line:no-floating-promises asyncData.fetchAvailableAssetDatasAndDispatchToStore(this._store); } - if (state.providerState.account.state !== AccountState.None) { this._accountUpdateHeartbeat = generateAccountHeartbeater({ store: this._store, @@ -114,7 +113,6 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider this._buyQuoteHeartbeat.start(BUY_QUOTE_UPDATE_INTERVAL_TIME_MS); // tslint:disable-next-line:no-floating-promises asyncData.fetchCurrentBuyQuoteAndDispatchToStore({ store: this._store, shouldSetPending: true }); - // warm up the gas price estimator cache just in case we can't // grab the gas price estimate when submitting the transaction // tslint:disable-next-line:no-floating-promises |