diff options
Diffstat (limited to 'packages/website/ts/components/onboarding/onboarding_flow.tsx')
-rw-r--r-- | packages/website/ts/components/onboarding/onboarding_flow.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/components/onboarding/onboarding_flow.tsx b/packages/website/ts/components/onboarding/onboarding_flow.tsx index dd417856f..621d14260 100644 --- a/packages/website/ts/components/onboarding/onboarding_flow.tsx +++ b/packages/website/ts/components/onboarding/onboarding_flow.tsx @@ -1,6 +1,6 @@ import * as _ from 'lodash'; import * as React from 'react'; -import Joyride, { Step, StyleOptions } from 'react-joyride'; +import Joyride, { CallbackData, Step, StyleOptions } from 'react-joyride'; import { zIndex } from 'ts/utils/style'; @@ -30,8 +30,8 @@ export class OnboardingFlow extends React.Component<OnboardingFlowProps> { ); } - private _handleChange(options: any): void { - switch (options.action) { + private _handleChange(data: CallbackData): void { + switch (data.action) { case 'close': this.props.onClose(); } |