aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/LoginButton.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-04 15:29:03 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commitbd144e40af14a6cb8206b67412d0658257b0c049 (patch)
treeaf5a302e036ff607870799b1eb5b2326eaa2229c /vnext/src/components/LoginButton.js
parentc91105360bedcd500ab927798d0b2e262b6ceed3 (diff)
Modal window styling
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>