style: add and fix typo of change password

This commit is contained in:
moonrailgun 2023-10-28 01:22:58 +08:00
parent 1c089cd39e
commit eef78520e5

View File

@ -46,6 +46,7 @@ export const Profile: React.FC = React.memo(() => {
<Modal <Modal
open={openChangePassword} open={openChangePassword}
title="Change password"
footer={null} footer={null}
maskClosable={false} maskClosable={false}
onCancel={() => setOpenChangePassword(false)} onCancel={() => setOpenChangePassword(false)}
@ -77,7 +78,7 @@ export const Profile: React.FC = React.memo(() => {
<Input.Password /> <Input.Password />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
label="Old Password" label="New Password Repeat"
name="newPasswordRepeat" name="newPasswordRepeat"
rules={[ rules={[
{ required: true }, { required: true },