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

@ -1,4 +1,3 @@
import { IMAGE_URL_REG } from "../helpers/marked";
import * as utils from "../helpers/utils";
import useI18n from "../hooks/useI18n";
import useToggle from "../hooks/useToggle";
@ -44,7 +43,7 @@ const ArchivedMemo: React.FC<Props> = (props: Props) => {
rowStatus: "NORMAL",
});
await memoService.fetchMemos();
toastHelper.info(t("common.restored-successfully"));
toastHelper.info(t("message.restored-successfully"));
} catch (error: any) {
console.error(error);
toastHelper.error(error.response.data.message);