diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-19 08:16:28 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-19 08:16:28 +0800 |
commit | 1737411ab7478de4a394242c930fcc7189daae07 (patch) | |
tree | 87480ed4c430e6925e280058deecb43f887d8a2d /packages/instant/src/containers | |
parent | 44635f34f0df4da935ed4793566995873aac5055 (diff) | |
download | dexon-sol-tools-1737411ab7478de4a394242c930fcc7189daae07.tar dexon-sol-tools-1737411ab7478de4a394242c930fcc7189daae07.tar.gz dexon-sol-tools-1737411ab7478de4a394242c930fcc7189daae07.tar.bz2 dexon-sol-tools-1737411ab7478de4a394242c930fcc7189daae07.tar.lz dexon-sol-tools-1737411ab7478de4a394242c930fcc7189daae07.tar.xz dexon-sol-tools-1737411ab7478de4a394242c930fcc7189daae07.tar.zst dexon-sol-tools-1737411ab7478de4a394242c930fcc7189daae07.zip |
Show order failed messaging when order fails
Diffstat (limited to 'packages/instant/src/containers')
-rw-r--r-- | packages/instant/src/containers/selected_asset_instant_heading.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/containers/selected_asset_instant_heading.ts b/packages/instant/src/containers/selected_asset_instant_heading.ts index 0509db5da..743362151 100644 --- a/packages/instant/src/containers/selected_asset_instant_heading.ts +++ b/packages/instant/src/containers/selected_asset_instant_heading.ts @@ -16,6 +16,7 @@ interface ConnectedState { totalEthBaseAmount?: BigNumber; ethUsdPrice?: BigNumber; quoteState: AsyncProcessState; + buyOrderState: AsyncProcessState; } const mapStateToProps = (state: State, _ownProps: InstantHeadingProps): ConnectedState => ({ @@ -23,6 +24,7 @@ const mapStateToProps = (state: State, _ownProps: InstantHeadingProps): Connecte totalEthBaseAmount: oc(state).latestBuyQuote.worstCaseQuoteInfo.totalEthAmount(), ethUsdPrice: state.ethUsdPrice, quoteState: state.quoteState, + buyOrderState: state.buyOrderState, }); export const SelectedAssetInstantHeading: React.ComponentClass<InstantHeadingProps> = connect(mapStateToProps)( |