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 /packages/instant/src/containers | |
parent | d192a7d466a6bda72ff69360454df547958601e4 (diff) | |
download | dexon-sol-tools-906909e33fe97d49196696c528c131c1a1c66f14.tar dexon-sol-tools-906909e33fe97d49196696c528c131c1a1c66f14.tar.gz dexon-sol-tools-906909e33fe97d49196696c528c131c1a1c66f14.tar.bz2 dexon-sol-tools-906909e33fe97d49196696c528c131c1a1c66f14.tar.lz dexon-sol-tools-906909e33fe97d49196696c528c131c1a1c66f14.tar.xz dexon-sol-tools-906909e33fe97d49196696c528c131c1a1c66f14.tar.zst dexon-sol-tools-906909e33fe97d49196696c528c131c1a1c66f14.zip |
Rename to SelectedAssetProgress
Diffstat (limited to 'packages/instant/src/containers')
-rw-r--r-- | packages/instant/src/containers/selected_asset_progress.tsx (renamed from packages/instant/src/containers/selected_asset_simulated_progress_bar.tsx) | 4 |
1 files changed, 2 insertions, 2 deletions
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); |