aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-05-30 06:49:13 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-05-30 06:49:13 +0800
commitbc28a08dd0d4db99549122fb4912b4931a3aad78 (patch)
treeba94822b58608f7c5cf22c0130adb76574de4dd5 /packages/website/ts/containers
parent0d3010f6fc8b14011444f090dfbd0221411a1ab0 (diff)
downloaddexon-sol-tools-bc28a08dd0d4db99549122fb4912b4931a3aad78.tar
dexon-sol-tools-bc28a08dd0d4db99549122fb4912b4931a3aad78.tar.gz
dexon-sol-tools-bc28a08dd0d4db99549122fb4912b4931a3aad78.tar.bz2
dexon-sol-tools-bc28a08dd0d4db99549122fb4912b4931a3aad78.tar.lz
dexon-sol-tools-bc28a08dd0d4db99549122fb4912b4931a3aad78.tar.xz
dexon-sol-tools-bc28a08dd0d4db99549122fb4912b4931a3aad78.tar.zst
dexon-sol-tools-bc28a08dd0d4db99549122fb4912b4931a3aad78.zip
Address PR feedback
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/portal_onboarding_flow.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/containers/portal_onboarding_flow.ts b/packages/website/ts/containers/portal_onboarding_flow.ts
index a7bd86ab1..56a1db553 100644
--- a/packages/website/ts/containers/portal_onboarding_flow.ts
+++ b/packages/website/ts/containers/portal_onboarding_flow.ts
@@ -19,8 +19,8 @@ interface ConnectedState {
}
interface ConnectedDispatch {
- setIsRunning: (isRunning: boolean) => void;
- setOnboardingStep: (stepIndex: number) => void;
+ updateIsRunning: (isRunning: boolean) => void;
+ updateOnboardingStep: (stepIndex: number) => void;
}
const mapStateToProps = (state: State): ConnectedState => ({
@@ -34,13 +34,13 @@ const mapStateToProps = (state: State): ConnectedState => ({
});
const mapDispatchToProps = (dispatch: Dispatch<State>): ConnectedDispatch => ({
- setIsRunning: (isRunning: boolean): void => {
+ updateIsRunning: (isRunning: boolean): void => {
dispatch({
type: ActionTypes.UpdatePortalOnboardingShowing,
data: isRunning,
});
},
- setOnboardingStep: (stepIndex: number): void => {
+ updateOnboardingStep: (stepIndex: number): void => {
dispatch({
type: ActionTypes.UpdatePortalOnboardingStep,
data: stepIndex,