mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: update i18n (#790)
* feat: tag type i18n * feat: custom server dialog i18n * feat: i18n resources name * feat: i18n toast * fix: eslint * eslint: fix * fix: eslint * fix: eslint
This commit is contained in:
@ -92,7 +92,7 @@ const UpdateAccountDialog: React.FC<Props> = ({ destroy }: Props) => {
|
||||
userPatch.email = state.email;
|
||||
}
|
||||
await userStore.patchUser(userPatch);
|
||||
toastHelper.info("Update succeed");
|
||||
toastHelper.info(t("message.update-succeed"));
|
||||
handleCloseBtnClick();
|
||||
} catch (error: any) {
|
||||
console.error(error);
|
||||
|
Reference in New Issue
Block a user