diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-01 07:54:52 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-01 07:54:52 +0800 |
commit | 906909e33fe97d49196696c528c131c1a1c66f14 (patch) | |
tree | 90166c5e1729526ed8f72dfc7aebfd300c4dffdd | |
parent | d192a7d466a6bda72ff69360454df547958601e4 (diff) | |
download | dexon-0x-contracts-906909e33fe97d49196696c528c131c1a1c66f14.tar dexon-0x-contracts-906909e33fe97d49196696c528c131c1a1c66f14.tar.gz dexon-0x-contracts-906909e33fe97d49196696c528c131c1a1c66f14.tar.bz2 dexon-0x-contracts-906909e33fe97d49196696c528c131c1a1c66f14.tar.lz dexon-0x-contracts-906909e33fe97d49196696c528c131c1a1c66f14.tar.xz dexon-0x-contracts-906909e33fe97d49196696c528c131c1a1c66f14.tar.zst dexon-0x-contracts-906909e33fe97d49196696c528c131c1a1c66f14.zip |
Rename to SelectedAssetProgress
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_container.tsx | 4 | ||||
-rw-r--r-- | packages/instant/src/containers/selected_asset_progress.tsx (renamed from packages/instant/src/containers/selected_asset_simulated_progress_bar.tsx) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx index 6b1042668..87a7cee88 100644 --- a/packages/instant/src/components/zero_ex_instant_container.tsx +++ b/packages/instant/src/components/zero_ex_instant_container.tsx @@ -5,7 +5,7 @@ import { LatestError } from '../containers/latest_error'; import { SelectedAssetBuyOrderStateButtons } from '../containers/selected_asset_buy_order_state_buttons'; import { SelectedAssetInstantHeading } from '../containers/selected_asset_instant_heading'; -import { SelectedAssetSimulatedProgressBar } from '../containers/selected_asset_simulated_progress_bar'; +import { SelectedAssetProgress } from '../containers/selected_asset_progress'; import { ColorOption } from '../style/theme'; @@ -26,7 +26,7 @@ export const ZeroExInstantContainer: React.StatelessComponent<ZeroExInstantConta > <Flex direction="column" justify="flex-start"> <SelectedAssetInstantHeading /> - <SelectedAssetSimulatedProgressBar /> + <SelectedAssetProgress /> <LatestBuyQuoteOrderDetails /> <Container padding="20px" width="100%"> <SelectedAssetBuyOrderStateButtons /> diff --git a/packages/instant/src/containers/selected_asset_simulated_progress_bar.tsx b/packages/instant/src/containers/selected_asset_progress.tsx index ceab61175..afbb45dac 100644 --- a/packages/instant/src/containers/selected_asset_simulated_progress_bar.tsx +++ b/packages/instant/src/containers/selected_asset_progress.tsx @@ -9,10 +9,10 @@ import { Container } from '../components/ui'; import { State } from '../redux/reducer'; import { OrderProcessState, OrderState, SimulatedProgress } from '../types'; -// TODO: rename this interface SelectedAssetProgressComponentProps { buyOrderState: OrderState; } +// TODO: rename this component and move to seperate file, and get props using mapStateToProps export const SelectedAssetSimulatedProgressComponent: React.StatelessComponent< SelectedAssetProgressComponentProps > = props => { @@ -46,4 +46,4 @@ interface ConnectedState { const mapStateToProps = (state: State, _ownProps: {}): ConnectedState => ({ buyOrderState: state.buyOrderState, }); -export const SelectedAssetSimulatedProgressBar = connect(mapStateToProps)(SelectedAssetSimulatedProgressComponent); +export const SelectedAssetProgress = connect(mapStateToProps)(SelectedAssetSimulatedProgressComponent); |