refactor: more TS code
This commit is contained in:
@@ -52,7 +52,6 @@ const ProfileBasicEditModal: FC<Props> = ({ closeModal }) => {
|
||||
console.log("pwd", input);
|
||||
const { current, newPassword } = input;
|
||||
updatePassword({ old_password: current, new_password: newPassword });
|
||||
// update({ [valueKey]: input });
|
||||
};
|
||||
const handleCompare = () => {
|
||||
const { newPassword, confirmPassword } = input;
|
||||
|
||||
Reference in New Issue
Block a user