aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-24 08:32:20 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-24 08:32:20 +0800
commit657ae0cf5732d2ad3bb23ed4270ee20ec9b0f131 (patch)
treeaadfda6f750071d2b3e28230d386aa03b9a6ea1b
parentd43f89fa0af709b1c1616ab5cfb32b8c27e07ab6 (diff)
downloaddexon-0x-contracts-657ae0cf5732d2ad3bb23ed4270ee20ec9b0f131.tar.gz
dexon-0x-contracts-657ae0cf5732d2ad3bb23ed4270ee20ec9b0f131.tar.zst
dexon-0x-contracts-657ae0cf5732d2ad3bb23ed4270ee20ec9b0f131.zip
null -> undefined
-rw-r--r--packages/instant/src/containers/selected_asset_retry_button.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/containers/selected_asset_retry_button.tsx b/packages/instant/src/containers/selected_asset_retry_button.tsx
index 66177551d..b2b140be6 100644
--- a/packages/instant/src/containers/selected_asset_retry_button.tsx
+++ b/packages/instant/src/containers/selected_asset_retry_button.tsx
@@ -17,10 +17,10 @@ const mapDispatchToProps = (
dispatch: Dispatch<Action>,
_ownProps: SelectedAssetRetryButtonProps,
): ConnectedDispatch => ({
- onClick: () => dispatch(actions.clearBuyQuoteAndSelectedAssetAmount()),
+ onClick: () => dispatch(actions.resetAmount()),
});
export const SelectedAssetRetryButton: React.ComponentClass<SelectedAssetRetryButtonProps> = connect(
- null,
+ undefined,
mapDispatchToProps,
)(RetryButton);