aboutsummaryrefslogblamecommitdiffstats
path: root/packages/instant/src/containers/selected_asset_progress.tsx
blob: 726967bc7439e45f2e43d7867a02f39045c0b68c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                           


                                      
                                                                    
                                         
                                      


                              


                                                                           
   
                                                                                        
// TODO: rename file and props to SelectedAssetBuyOrderProgress and use .ts

import { connect } from 'react-redux';

import { BuyOrderProgress } from '../components/buy_order_progress';
import { State } from '../redux/reducer';
import { OrderState } from '../types';

interface ConnectedState {
    buyOrderState: OrderState;
}
const mapStateToProps = (state: State, _ownProps: {}): ConnectedState => ({
    buyOrderState: state.buyOrderState,
});
export const SelectedAssetBuyOrderProgress = connect(mapStateToProps)(BuyOrderProgress);