aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-24 08:36:25 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-24 08:36:25 +0800
commit4df8e60f42a372ae70f15cadbe1942ba27097f7a (patch)
tree5dbdd2c424a209e1120a019c94a84a4a28b3c776 /packages/instant
parentdf7a1bd8de064852f30b75feee0b68618c0be7c2 (diff)
downloaddexon-sol-tools-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar
dexon-sol-tools-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.gz
dexon-sol-tools-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.bz2
dexon-sol-tools-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.lz
dexon-sol-tools-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.xz
dexon-sol-tools-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.zst
dexon-sol-tools-4df8e60f42a372ae70f15cadbe1942ba27097f7a.zip
rename container
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/components/zero_ex_instant_container.tsx4
-rw-r--r--packages/instant/src/containers/selected_asset_buy_order_state_button.tsx (renamed from packages/instant/src/containers/selected_asset_button.tsx)6
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx
index 088d0a93e..1d17ed12a 100644
--- a/packages/instant/src/components/zero_ex_instant_container.tsx
+++ b/packages/instant/src/components/zero_ex_instant_container.tsx
@@ -2,7 +2,7 @@ import * as React from 'react';
import { LatestBuyQuoteOrderDetails } from '../containers/latest_buy_quote_order_details';
import { LatestError } from '../containers/latest_error';
-import { SelectedAssetButton } from '../containers/selected_asset_button';
+import { SelectedAssetBuyOrderStateButton } from '../containers/selected_asset_buy_order_state_button';
import { SelectedAssetInstantHeading } from '../containers/selected_asset_instant_heading';
import { ColorOption } from '../style/theme';
@@ -27,7 +27,7 @@ export const ZeroExInstantContainer: React.StatelessComponent<ZeroExInstantConta
<SelectedAssetInstantHeading />
<LatestBuyQuoteOrderDetails />
<Container padding="20px" width="100%">
- <SelectedAssetButton />
+ <SelectedAssetBuyOrderStateButton />
</Container>
</Flex>
</Container>
diff --git a/packages/instant/src/containers/selected_asset_button.tsx b/packages/instant/src/containers/selected_asset_buy_order_state_button.tsx
index 86be291bc..3b7fc0054 100644
--- a/packages/instant/src/containers/selected_asset_button.tsx
+++ b/packages/instant/src/containers/selected_asset_buy_order_state_button.tsx
@@ -15,6 +15,6 @@ const mapStateToProps = (state: State, _ownProps: SelectedAssetButtonProps): Con
buyOrderState: state.buyOrderState,
});
-export const SelectedAssetButton: React.ComponentClass<SelectedAssetButtonProps> = connect(mapStateToProps)(
- BuyOrderStateButton,
-);
+export const SelectedAssetBuyOrderStateButton: React.ComponentClass<SelectedAssetButtonProps> = connect(
+ mapStateToProps,
+)(BuyOrderStateButton);