diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-27 03:53:04 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-27 03:53:04 +0800 |
commit | 7fa1f25e065c737e7589b57fb0249db5c1ceb4fb (patch) | |
tree | 21d88ce6c441ddcb62eed2a547753f7c69e6121e /packages | |
parent | 68182fb6c41256f9886c7aa0269746b3a9ac632f (diff) | |
download | dexon-sol-tools-7fa1f25e065c737e7589b57fb0249db5c1ceb4fb.tar dexon-sol-tools-7fa1f25e065c737e7589b57fb0249db5c1ceb4fb.tar.gz dexon-sol-tools-7fa1f25e065c737e7589b57fb0249db5c1ceb4fb.tar.bz2 dexon-sol-tools-7fa1f25e065c737e7589b57fb0249db5c1ceb4fb.tar.lz dexon-sol-tools-7fa1f25e065c737e7589b57fb0249db5c1ceb4fb.tar.xz dexon-sol-tools-7fa1f25e065c737e7589b57fb0249db5c1ceb4fb.tar.zst dexon-sol-tools-7fa1f25e065c737e7589b57fb0249db5c1ceb4fb.zip |
buy order state button -> buy order state buttons
Diffstat (limited to 'packages')
-rw-r--r-- | packages/instant/src/components/buy_order_state_buttons.tsx (renamed from packages/instant/src/components/buy_order_state_button.tsx) | 2 | ||||
-rw-r--r-- | packages/instant/src/containers/selected_asset_buy_order_state_button.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/components/buy_order_state_button.tsx b/packages/instant/src/components/buy_order_state_buttons.tsx index 17aa46df5..2330f84f9 100644 --- a/packages/instant/src/components/buy_order_state_button.tsx +++ b/packages/instant/src/components/buy_order_state_buttons.tsx @@ -26,7 +26,7 @@ export interface BuyOrderStateButtonProps { } // TODO: rename to buttons -export const BuyOrderStateButton: React.StatelessComponent<BuyOrderStateButtonProps> = props => { +export const BuyOrderStateButtons: React.StatelessComponent<BuyOrderStateButtonProps> = props => { if (props.buyOrderProcessingState === OrderProcessState.FAILURE) { return ( <Flex justify="space-between"> diff --git a/packages/instant/src/containers/selected_asset_buy_order_state_button.ts b/packages/instant/src/containers/selected_asset_buy_order_state_button.ts index fa5de4e68..43c62c773 100644 --- a/packages/instant/src/containers/selected_asset_buy_order_state_button.ts +++ b/packages/instant/src/containers/selected_asset_buy_order_state_button.ts @@ -9,7 +9,7 @@ import { State } from '../redux/reducer'; import { OrderProcessState, OrderState } from '../types'; import { etherscanUtil } from '../util/etherscan'; -import { BuyOrderStateButton } from '../components/buy_order_state_button'; +import { BuyOrderStateButtons } from '../components/buy_order_state_buttons'; interface ConnectedState { buyQuote?: BuyQuote; @@ -75,4 +75,4 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>, ownProps: SelectedAssetB export const SelectedAssetBuyOrderStateButton: React.ComponentClass<SelectedAssetButtonProps> = connect( mapStateToProps, mapDispatchToProps, -)(BuyOrderStateButton); +)(BuyOrderStateButtons); |