diff options
| author | anderklander <anderklander@gmail.com> | 2018-02-28 08:17:56 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-03-26 14:22:10 +0200 |
| commit | 08c93c5e7cfd8e236b5c0cf70e6ba413625400de (patch) | |
| tree | 1de04a9736e847b3b163253016597f76f37fac2a | |
| parent | 5d6843d430b3165a58baaff517b2feb4b5d6a11a (diff) | |
| download | mullvadvpn-08c93c5e7cfd8e236b5c0cf70e6ba413625400de.tar.xz mullvadvpn-08c93c5e7cfd8e236b5c0cf70e6ba413625400de.zip | |
Line breaks
| -rw-r--r-- | app/components/Login.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/components/Login.js b/app/components/Login.js index a6a9544667..d8827959d4 100644 --- a/app/components/Login.js +++ b/app/components/Login.js @@ -52,8 +52,12 @@ export default class Login extends React.Component<LoginPropTypes, State> { if(props.account.status === 'failed') { this.state.notifyOnFirstChangeAfterFailure = true; } - this.state.dropdownAnimationStyle = Styles.createAnimatedViewStyle({height: this.state.animatedDropdownValue}); - this.state.footerAnimationStyle = Styles.createAnimatedViewStyle({transform: [{translateY: this.state.animatedFooterValue }]}); + this.state.dropdownAnimationStyle = Styles.createAnimatedViewStyle({ + height: this.state.animatedDropdownValue + }); + this.state.footerAnimationStyle = Styles.createAnimatedViewStyle({ + transform: [{translateY: this.state.animatedFooterValue }] + }); } componentWillReceiveProps(nextProps: LoginPropTypes) { |
