diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-11-09 06:28:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 06:28:22 +0800 |
commit | 5ffd20214c02d5a6cb7aaffe79d3baa5ee527da7 (patch) | |
tree | ac5a85a545b01f916ffc449d34fa6216b615b660 /packages/instant/src/components | |
parent | b388d5496272d535b5c192a7098f4227bb1fb3f2 (diff) | |
parent | 8493d619b45d84eedf9f8d349e45a4d3e759c538 (diff) | |
download | dexon-0x-contracts-5ffd20214c02d5a6cb7aaffe79d3baa5ee527da7.tar.gz dexon-0x-contracts-5ffd20214c02d5a6cb7aaffe79d3baa5ee527da7.tar.zst dexon-0x-contracts-5ffd20214c02d5a6cb7aaffe79d3baa5ee527da7.zip |
Merge pull request #1231 from 0xProject/fix/instant/default-amount-quote
[instant] Update buy quote at start up in the case of default amount
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_provider.tsx | 4 |
1 files changed, 2 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 1fb5cf64f..58e78c522 100644 --- a/packages/instant/src/components/zero_ex_instant_provider.tsx +++ b/packages/instant/src/components/zero_ex_instant_provider.tsx @@ -92,12 +92,12 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider // tslint:disable-next-line:no-floating-promises asyncData.fetchAvailableAssetDatasAndDispatchToStore(this._store); } - + // tslint:disable-next-line:no-floating-promises + asyncData.fetchCurrentBuyQuoteAndDispatchToStore(this._store); // 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 gasPriceEstimator.getGasInfoAsync(); - // tslint:disable-next-line:no-floating-promises this._flashErrorIfWrongNetwork(); } |