aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/containers
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-19 08:16:28 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-19 08:16:28 +0800
commit1737411ab7478de4a394242c930fcc7189daae07 (patch)
tree87480ed4c430e6925e280058deecb43f887d8a2d /packages/instant/src/containers
parent44635f34f0df4da935ed4793566995873aac5055 (diff)
downloaddexon-0x-contracts-1737411ab7478de4a394242c930fcc7189daae07.tar.gz
dexon-0x-contracts-1737411ab7478de4a394242c930fcc7189daae07.tar.zst
dexon-0x-contracts-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.ts2
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)(