aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-05-31 08:51:21 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-05 01:25:38 +0800
commitf382609d01ab86da52a746ba24ddd73a1a507aa6 (patch)
tree298e0a84dd6844d4a76384172e7b738bc5b31315 /packages/website/ts/containers
parentf9615c18a1cc16794b6a55b76aa361332494a6ac (diff)
downloaddexon-sol-tools-f382609d01ab86da52a746ba24ddd73a1a507aa6.tar
dexon-sol-tools-f382609d01ab86da52a746ba24ddd73a1a507aa6.tar.gz
dexon-sol-tools-f382609d01ab86da52a746ba24ddd73a1a507aa6.tar.bz2
dexon-sol-tools-f382609d01ab86da52a746ba24ddd73a1a507aa6.tar.lz
dexon-sol-tools-f382609d01ab86da52a746ba24ddd73a1a507aa6.tar.xz
dexon-sol-tools-f382609d01ab86da52a746ba24ddd73a1a507aa6.tar.zst
dexon-sol-tools-f382609d01ab86da52a746ba24ddd73a1a507aa6.zip
Implement WETH step logic for continue
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/portal_onboarding_flow.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/website/ts/containers/portal_onboarding_flow.ts b/packages/website/ts/containers/portal_onboarding_flow.ts
index 8202fb2ae..0ad9aef13 100644
--- a/packages/website/ts/containers/portal_onboarding_flow.ts
+++ b/packages/website/ts/containers/portal_onboarding_flow.ts
@@ -2,12 +2,14 @@ import { BigNumber } from '@0xproject/utils';
import * as React from 'react';
import { connect } from 'react-redux';
import { Dispatch } from 'redux';
-import { ActionTypes, ProviderType, TokenByAddress } from 'ts/types';
+import { ActionTypes, ProviderType, TokenByAddress, TokenStateByAddress } from 'ts/types';
import { PortalOnboardingFlow as PortalOnboardingFlowComponent } from 'ts/components/onboarding/portal_onboarding_flow';
import { State } from 'ts/redux/reducer';
-interface PortalOnboardingFlowProps {}
+interface PortalOnboardingFlowProps {
+ trackedTokenStateByAddress: TokenStateByAddress;
+}
interface ConnectedState {
stepIndex: number;
@@ -26,7 +28,7 @@ interface ConnectedDispatch {
updateOnboardingStep: (stepIndex: number) => void;
}
-const mapStateToProps = (state: State): ConnectedState => ({
+const mapStateToProps = (state: State, ownProps: PortalOnboardingFlowProps): ConnectedState => ({
stepIndex: state.portalOnboardingStep,
isRunning: state.isPortalOnboardingShowing,
userAddress: state.userAddress,