mirror of
https://github.com/wassname/talk.git
synced 2026-08-16 11:29:31 +08:00
Merge branch 'master' into change-pass-error-bug
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import cn from 'classnames';
|
||||
import styles from './ChangePassword.css';
|
||||
import { Button } from 'plugin-api/beta/client/components/ui';
|
||||
import { Button, BareButton } from 'plugin-api/beta/client/components/ui';
|
||||
import validate from 'coral-framework/helpers/validate';
|
||||
import errorMsj from 'coral-framework/helpers/error';
|
||||
import isEqual from 'lodash/isEqual';
|
||||
@@ -231,9 +231,13 @@ class ChangePassword extends React.Component {
|
||||
>
|
||||
{t('talk-plugin-local-auth.change_password.save')}
|
||||
</Button>
|
||||
<a className={styles.cancelButton} onClick={this.cancel}>
|
||||
<BareButton
|
||||
type="button"
|
||||
className={styles.cancelButton}
|
||||
onClick={this.cancel}
|
||||
>
|
||||
{t('talk-plugin-local-auth.change_password.cancel')}
|
||||
</a>
|
||||
</BareButton>
|
||||
</div>
|
||||
</form>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user