chore: update i18n structures

This commit is contained in:
Steven
2022-09-16 21:25:39 +08:00
parent 811f3340e9
commit 1591fdf61c
14 changed files with 69 additions and 64 deletions

View File

@ -41,12 +41,12 @@ const ChangePasswordDialog: React.FC<Props> = ({ destroy }: Props) => {
const handleSaveBtnClick = async () => {
if (newPassword === "" || newPasswordAgain === "") {
toastHelper.error(t("common.fill-all"));
toastHelper.error(t("message.fill-all"));
return;
}
if (newPassword !== newPasswordAgain) {
toastHelper.error(t("common.new-password-not-match"));
toastHelper.error(t("message.new-password-not-match"));
setNewPasswordAgain("");
return;
}