From a9dc6b16d6730d8d1dc1ea2fab8ab3830fe56ce4 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Fri, 28 Jul 2023 00:40:58 +0800
Subject: ...

---
 FrontEnd/src/pages/setting/ChangePasswordDialog.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'FrontEnd/src/pages/setting/ChangePasswordDialog.tsx')

diff --git a/FrontEnd/src/pages/setting/ChangePasswordDialog.tsx b/FrontEnd/src/pages/setting/ChangePasswordDialog.tsx
index 5505137e..9ca95168 100644
--- a/FrontEnd/src/pages/setting/ChangePasswordDialog.tsx
+++ b/FrontEnd/src/pages/setting/ChangePasswordDialog.tsx
@@ -21,7 +21,7 @@ export function ChangePasswordDialog(props: ChangePasswordDialogProps) {
     <OperationDialog
       open={open}
       title="settings.dialogChangePassword.title"
-      themeColor="danger"
+      color="danger"
       inputPrompt="settings.dialogChangePassword.prompt"
       inputScheme={[
         {
@@ -57,7 +57,7 @@ export function ChangePasswordDialog(props: ChangePasswordDialogProps) {
         await userService.changePassword(oldPassword, newPassword);
         setRedirect(true);
       }}
-      onClose={() => {
+      close={() => {
         props.close();
         if (redirect) {
           navigate("/login");
-- 
cgit v1.2.3

