Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: import bug #382

Merged
merged 1 commit into from
Dec 7, 2022
Merged

fix: import bug #382

merged 1 commit into from
Dec 7, 2022

Conversation

@@ -1,6 +1,6 @@
import { message } from 'antd';
import _ from 'lodash';

Copy link
Contributor

@hetao92 hetao92 Dec 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use getI18n, we dont use react-intl-universal directly now

@@ -33,7 +33,7 @@ const PasswordInputModal = (props: IProps) => {
onChange={e => setPassword(e.target.value)}
/>
<div className={styles.btns}>
<Button onClick={() => handleConfirm()}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use handleCancel, it will not clear password if use onCancel

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is props event

Copy link
Contributor

@hetao92 hetao92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hetao92 hetao92 merged commit ffefb5b into vesoft-inc:master Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants