diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-24 08:36:25 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-24 08:36:25 +0800 |
commit | 4df8e60f42a372ae70f15cadbe1942ba27097f7a (patch) | |
tree | 5dbdd2c424a209e1120a019c94a84a4a28b3c776 | |
parent | df7a1bd8de064852f30b75feee0b68618c0be7c2 (diff) | |
download | dexon-0x-contracts-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar dexon-0x-contracts-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.gz dexon-0x-contracts-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.bz2 dexon-0x-contracts-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.lz dexon-0x-contracts-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.xz dexon-0x-contracts-4df8e60f42a372ae70f15cadbe1942ba27097f7a.tar.zst dexon-0x-contracts-4df8e60f42a372ae70f15cadbe1942ba27097f7a.zip |
rename container
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_container.tsx | 4 | ||||
-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); |