- {userProfile.is_password_set ? t('account.resetPassword', { ns: 'common' }) : t('account.setPassword', { ns: 'common' })}
- {userProfile.is_password_set && (
- <>
- {t('account.currentPassword', { ns: 'common' })}
-
-
setCurrentPassword(e.target.value)}
- />
-
-
-
-
-
- >
- )}
-
- {userProfile.is_password_set ? t('account.newPassword', { ns: 'common' }) : t('account.password', { ns: 'common' })}
-
+
+
- )
- }
+ >
+ )}
+
+ {userProfile.is_password_set ? t('account.newPassword', { ns: 'common' }) : t('account.password', { ns: 'common' })}
+
+
+
setPassword(e.target.value)}
+ />
+
+
+
+
+ {t('account.confirmPassword', { ns: 'common' })}
+
+
setConfirmPassword(e.target.value)}
+ />
+
+
+
+
+
+
+
+
+
+