Fix change password button active state on no errors

This commit is contained in:
Tuan Dang
2023-06-08 00:27:59 +01:00
parent 674828e8e4
commit 8ce48fea43

View File

@@ -226,6 +226,7 @@ export default function PersonalSettings() {
);
}
}}
active={Object.keys(errors).length === 0 && currentPassword !== ''}
color="mineshaft"
size="md"
textDisabled={t('section.password.change') as string}