diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-10 03:22:46 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-10 03:22:46 +0800 |
commit | 474db7c18de63429f72511796291ff135c77f10b (patch) | |
tree | 63eee7214fafd8d69cb982036906a6c1e651b7d7 /packages/instant/src/redux | |
parent | 39657b633bd386526f5772238cbebfb976427c07 (diff) | |
download | dexon-sol-tools-474db7c18de63429f72511796291ff135c77f10b.tar dexon-sol-tools-474db7c18de63429f72511796291ff135c77f10b.tar.gz dexon-sol-tools-474db7c18de63429f72511796291ff135c77f10b.tar.bz2 dexon-sol-tools-474db7c18de63429f72511796291ff135c77f10b.tar.lz dexon-sol-tools-474db7c18de63429f72511796291ff135c77f10b.tar.xz dexon-sol-tools-474db7c18de63429f72511796291ff135c77f10b.tar.zst dexon-sol-tools-474db7c18de63429f72511796291ff135c77f10b.zip |
Emulate named parameters with interface
Diffstat (limited to 'packages/instant/src/redux')
-rw-r--r-- | packages/instant/src/redux/async_data.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/src/redux/async_data.ts b/packages/instant/src/redux/async_data.ts index c7fe4cd0e..61de54d82 100644 --- a/packages/instant/src/redux/async_data.ts +++ b/packages/instant/src/redux/async_data.ts @@ -74,7 +74,8 @@ export const asyncData = { return; } }, - fetchCurrentBuyQuoteAndDispatchToStore: async (store: Store, setPending: boolean) => { + fetchCurrentBuyQuoteAndDispatchToStore: async (options: { store: Store; setPending: boolean }) => { + const { store, setPending } = options; const { buyOrderState, providerState, selectedAsset, selectedAssetAmount, affiliateInfo } = store.getState(); const assetBuyer = providerState.assetBuyer; if ( |