diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-29 23:56:49 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-29 23:56:49 +0800 |
commit | 1bb7a28690662d682f865505b6c62fe655d57316 (patch) | |
tree | 193e642531a4f0c8e82f4ea513325ab78d6e857c /packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts | |
parent | 3052c8d303bdbaf57e762345d5ee8428d2194d0a (diff) | |
download | dexon-sol-tools-1bb7a28690662d682f865505b6c62fe655d57316.tar dexon-sol-tools-1bb7a28690662d682f865505b6c62fe655d57316.tar.gz dexon-sol-tools-1bb7a28690662d682f865505b6c62fe655d57316.tar.bz2 dexon-sol-tools-1bb7a28690662d682f865505b6c62fe655d57316.tar.lz dexon-sol-tools-1bb7a28690662d682f865505b6c62fe655d57316.tar.xz dexon-sol-tools-1bb7a28690662d682f865505b6c62fe655d57316.tar.zst dexon-sol-tools-1bb7a28690662d682f865505b6c62fe655d57316.zip |
onPendingValidation -> onValidationPending
Diffstat (limited to 'packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts')
-rw-r--r-- | packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts b/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts index d22fd7d24..1a568c1fb 100644 --- a/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts +++ b/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts @@ -20,7 +20,7 @@ interface ConnectedState { } interface ConnectedDispatch { - onPendingValidation: (buyQuote: BuyQuote) => void; + onValidationPending: (buyQuote: BuyQuote) => void; onSignatureDenied: (buyQuote: BuyQuote, error: Error) => void; onBuyProcessing: (buyQuote: BuyQuote, txHash: string) => void; onBuySuccess: (buyQuote: BuyQuote, txHash: string) => void; @@ -56,7 +56,7 @@ const mapDispatchToProps = ( dispatch: Dispatch<Action>, ownProps: SelectedAssetBuyOrderStateButtons, ): ConnectedDispatch => ({ - onPendingValidation: (buyQuote: BuyQuote) => { + onValidationPending: (buyQuote: BuyQuote) => { const newOrderState: OrderState = { processState: OrderProcessState.VALIDATING }; dispatch(actions.updateBuyOrderState(newOrderState)); }, |