diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 03:09:38 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 03:09:38 +0800 |
commit | eb494f78fa04bb4e6eece27a810e17e665d3a31e (patch) | |
tree | 27c7814e4d7fcffc7207603775d813c5cb1f6154 /packages/website/ts/components/onboarding | |
parent | d963941be03596d9030dca8788ad26c09b98822d (diff) | |
download | dexon-sol-tools-eb494f78fa04bb4e6eece27a810e17e665d3a31e.tar dexon-sol-tools-eb494f78fa04bb4e6eece27a810e17e665d3a31e.tar.gz dexon-sol-tools-eb494f78fa04bb4e6eece27a810e17e665d3a31e.tar.bz2 dexon-sol-tools-eb494f78fa04bb4e6eece27a810e17e665d3a31e.tar.lz dexon-sol-tools-eb494f78fa04bb4e6eece27a810e17e665d3a31e.tar.xz dexon-sol-tools-eb494f78fa04bb4e6eece27a810e17e665d3a31e.tar.zst dexon-sol-tools-eb494f78fa04bb4e6eece27a810e17e665d3a31e.zip |
Buttons look hella disabled now
Diffstat (limited to 'packages/website/ts/components/onboarding')
-rw-r--r-- | packages/website/ts/components/onboarding/onboarding_flow.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/website/ts/components/onboarding/onboarding_flow.tsx b/packages/website/ts/components/onboarding/onboarding_flow.tsx index cfce70b84..331899469 100644 --- a/packages/website/ts/components/onboarding/onboarding_flow.tsx +++ b/packages/website/ts/components/onboarding/onboarding_flow.tsx @@ -37,20 +37,20 @@ export class OnboardingFlow extends React.Component<OnboardingFlowProps> { if (!this.props.isRunning) { return null; } - let onboardingEl = null; + let onboardingElement = null; if (this.props.isMobile) { - onboardingEl = <Animation type="easeUpFromBottom">{this._renderOnboardignCard()}</Animation>; + onboardingElement = <Animation type="easeUpFromBottom">{this._renderOnboardignCard()}</Animation>; } else { - onboardingEl = ( + onboardingElement = ( <Popper referenceElement={this._getElementForStep()} placement={this._getCurrentStep().placement}> {this._renderPopperChildren.bind(this)} </Popper> ); } if (this.props.disableOverlay) { - return onboardingEl; + return onboardingElement; } - return <Overlay>{onboardingEl}</Overlay>; + return <Overlay>{onboardingElement}</Overlay>; } private _getElementForStep(): Element { return document.querySelector(this._getCurrentStep().target); |