diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-20 06:01:54 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-20 06:01:54 +0800 |
commit | a017f5e38561a152e8a757b340c1b0c6b3a3e21f (patch) | |
tree | 5ff144d227cab99c80d19bc7b4c3617e89c12e77 /packages/instant/src/containers/selected_asset_buy_button.ts | |
parent | 100f446031e84c367f1d0852ef60fd04d4544b9f (diff) | |
parent | 2c308c0f4c172293e634d27f731d026e0361e639 (diff) | |
download | dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.tar dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.tar.gz dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.tar.bz2 dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.tar.lz dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.tar.xz dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.tar.zst dexon-sol-tools-a017f5e38561a152e8a757b340c1b0c6b3a3e21f.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/beta-render-et-al
Diffstat (limited to 'packages/instant/src/containers/selected_asset_buy_button.ts')
-rw-r--r-- | packages/instant/src/containers/selected_asset_buy_button.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/containers/selected_asset_buy_button.ts b/packages/instant/src/containers/selected_asset_buy_button.ts index 99f971321..8189a5377 100644 --- a/packages/instant/src/containers/selected_asset_buy_button.ts +++ b/packages/instant/src/containers/selected_asset_buy_button.ts @@ -46,9 +46,9 @@ const mapStateToProps = (state: State, _ownProps: SelectedAssetBuyButtonProps): }); const mapDispatchToProps = (dispatch: Dispatch<Action>, ownProps: SelectedAssetBuyButtonProps): ConnectedDispatch => ({ - onClick: buyQuote => dispatch(actions.updatebuyOrderState(AsyncProcessState.PENDING)), - onBuySuccess: buyQuote => dispatch(actions.updatebuyOrderState(AsyncProcessState.SUCCESS)), - onBuyFailure: buyQuote => dispatch(actions.updatebuyOrderState(AsyncProcessState.FAILURE)), + onClick: buyQuote => dispatch(actions.updateBuyOrderState(AsyncProcessState.PENDING)), + onBuySuccess: buyQuote => dispatch(actions.updateBuyOrderState(AsyncProcessState.SUCCESS)), + onBuyFailure: buyQuote => dispatch(actions.updateBuyOrderState(AsyncProcessState.FAILURE)), }); export const SelectedAssetBuyButton: React.ComponentClass<SelectedAssetBuyButtonProps> = connect( |