aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/zero_ex_instant_container.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-12 08:35:22 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-12 08:35:22 +0800
commit03b235bb428e8a61934ff603f22f057d8394b56a (patch)
treeba8671e02273c8d991b35e1920e0a2a29a9d0986 /packages/instant/src/components/zero_ex_instant_container.tsx
parent1c92ae0ed0b90818aca7bf899c05fd150672d75b (diff)
downloaddexon-0x-contracts-03b235bb428e8a61934ff603f22f057d8394b56a.tar
dexon-0x-contracts-03b235bb428e8a61934ff603f22f057d8394b56a.tar.gz
dexon-0x-contracts-03b235bb428e8a61934ff603f22f057d8394b56a.tar.bz2
dexon-0x-contracts-03b235bb428e8a61934ff603f22f057d8394b56a.tar.lz
dexon-0x-contracts-03b235bb428e8a61934ff603f22f057d8394b56a.tar.xz
dexon-0x-contracts-03b235bb428e8a61934ff603f22f057d8394b56a.tar.zst
dexon-0x-contracts-03b235bb428e8a61934ff603f22f057d8394b56a.zip
feat: populate order details with information from worst buy quote
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_container.tsx')
-rw-r--r--packages/instant/src/components/zero_ex_instant_container.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx
index 4ff8b51bd..44f702aa2 100644
--- a/packages/instant/src/components/zero_ex_instant_container.tsx
+++ b/packages/instant/src/components/zero_ex_instant_container.tsx
@@ -1,5 +1,6 @@
import * as React from 'react';
+import { LatestBuyQuoteOrderDetails } from '../containers/latest_buy_quote_order_details';
import { SelectedAssetBuyButton } from '../containers/selected_asset_buy_button';
import { SelectedAssetInstantHeading } from '../containers/selected_asset_instant_heading';
@@ -7,7 +8,6 @@ import { ColorOption } from '../style/theme';
import { BuyButton } from './buy_button';
import { InstantHeading } from './instant_heading';
-import { OrderDetails } from './order_details';
import { Container, Flex } from './ui';
export interface ZeroExInstantContainerProps {}
@@ -16,7 +16,7 @@ export const ZeroExInstantContainer: React.StatelessComponent<ZeroExInstantConta
<Container hasBoxShadow={true} width="350px" backgroundColor={ColorOption.white} borderRadius="3px">
<Flex direction="column" justify="flex-start">
<SelectedAssetInstantHeading />
- <OrderDetails />
+ <LatestBuyQuoteOrderDetails />
<SelectedAssetBuyButton />
</Flex>
</Container>