aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-13 02:00:36 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-13 02:00:36 +0800
commitf3391e1250767eb9ef7a74f78eded38fa3c94586 (patch)
treee25eeb3652227ea68f5b77db82755765298cb22a /packages/instant/src/components
parent09c5ae4e65f8fddd4504be041f27f9107d12df7d (diff)
downloaddexon-sol-tools-f3391e1250767eb9ef7a74f78eded38fa3c94586.tar
dexon-sol-tools-f3391e1250767eb9ef7a74f78eded38fa3c94586.tar.gz
dexon-sol-tools-f3391e1250767eb9ef7a74f78eded38fa3c94586.tar.bz2
dexon-sol-tools-f3391e1250767eb9ef7a74f78eded38fa3c94586.tar.lz
dexon-sol-tools-f3391e1250767eb9ef7a74f78eded38fa3c94586.tar.xz
dexon-sol-tools-f3391e1250767eb9ef7a74f78eded38fa3c94586.tar.zst
dexon-sol-tools-f3391e1250767eb9ef7a74f78eded38fa3c94586.zip
feat: make redux actions type-sage
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/instant_heading.tsx2
-rw-r--r--packages/instant/src/components/order_details.tsx3
-rw-r--r--packages/instant/src/components/zero_ex_instant.tsx1
-rw-r--r--packages/instant/src/components/zero_ex_instant_container.tsx2
4 files changed, 1 insertions, 7 deletions
diff --git a/packages/instant/src/components/instant_heading.tsx b/packages/instant/src/components/instant_heading.tsx
index 951858695..377bb20bf 100644
--- a/packages/instant/src/components/instant_heading.tsx
+++ b/packages/instant/src/components/instant_heading.tsx
@@ -1,9 +1,7 @@
import { BigNumber } from '@0xproject/utils';
-import { Web3Wrapper } from '@0xproject/web3-wrapper';
import * as _ from 'lodash';
import * as React from 'react';
-import { ethDecimals } from '../constants';
import { SelectedAssetAmountInput } from '../containers/selected_asset_amount_input';
import { ColorOption } from '../style/theme';
import { format } from '../util/format';
diff --git a/packages/instant/src/components/order_details.tsx b/packages/instant/src/components/order_details.tsx
index 78359898f..66e7e2406 100644
--- a/packages/instant/src/components/order_details.tsx
+++ b/packages/instant/src/components/order_details.tsx
@@ -1,11 +1,8 @@
import { BuyQuoteInfo } from '@0xproject/asset-buyer';
import { BigNumber } from '@0xproject/utils';
-import { Web3Wrapper } from '@0xproject/web3-wrapper';
import * as _ from 'lodash';
import * as React from 'react';
-import { BIG_NUMBER_ZERO, ethDecimals } from '../constants';
-
import { ColorOption } from '../style/theme';
import { format } from '../util/format';
diff --git a/packages/instant/src/components/zero_ex_instant.tsx b/packages/instant/src/components/zero_ex_instant.tsx
index 17ef737c9..f6472e811 100644
--- a/packages/instant/src/components/zero_ex_instant.tsx
+++ b/packages/instant/src/components/zero_ex_instant.tsx
@@ -9,6 +9,7 @@ import { theme, ThemeProvider } from '../style/theme';
import { ZeroExInstantContainer } from './zero_ex_instant_container';
fonts.include();
+// tslint:disable-next-line:no-floating-promises
asyncData.fetchAndDispatchToStore();
export interface ZeroExInstantProps {}
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx
index 44f702aa2..b624d712f 100644
--- a/packages/instant/src/components/zero_ex_instant_container.tsx
+++ b/packages/instant/src/components/zero_ex_instant_container.tsx
@@ -6,8 +6,6 @@ import { SelectedAssetInstantHeading } from '../containers/selected_asset_instan
import { ColorOption } from '../style/theme';
-import { BuyButton } from './buy_button';
-import { InstantHeading } from './instant_heading';
import { Container, Flex } from './ui';
export interface ZeroExInstantContainerProps {}