aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/LoginButton.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/LoginButton.js')
-rw-r--r--vnext/src/components/LoginButton.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/src/components/LoginButton.js b/vnext/src/components/LoginButton.js
index 02a1db35..c25b0e81 100644
--- a/vnext/src/components/LoginButton.js
+++ b/vnext/src/components/LoginButton.js
@@ -2,6 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import Icon from './Icon';
import Modal from './Modal';
+import Button from './Button';
import { me, facebookLink, vkLink } from '../api';
@@ -75,7 +76,7 @@ export default class LoginButton extends React.Component {
type="password" name="password"
placeholder="Password..."
value={this.state.password} onChange={this.passwordChanged} /><br />
- <input className="signsubmit" type="submit" value="OK" />
+ <Button onClick={this.login}>OK</Button>
</form>
</div>
</Modal>