diff --git a/web/src/components/MemoEditor/index.tsx b/web/src/components/MemoEditor/index.tsx index 435232c4..e1c6b2db 100644 --- a/web/src/components/MemoEditor/index.tsx +++ b/web/src/components/MemoEditor/index.tsx @@ -364,6 +364,7 @@ const MemoEditor = (props: Props) => { isRequesting: false, resourceList: [], relationList: [], + location: undefined, }; }); }; diff --git a/web/src/components/UserStatisticsView.tsx b/web/src/components/UserStatisticsView.tsx index 3ad741ac..aed6b6cd 100644 --- a/web/src/components/UserStatisticsView.tsx +++ b/web/src/components/UserStatisticsView.tsx @@ -65,7 +65,7 @@ const UserStatisticsView = () => { await memoServiceClient.rebuildMemoProperty({ name: "memos/-", }); - toast.success("Refresh successfully"); + toast.success("Rebuild memo properties successfully."); window.location.reload(); }; @@ -96,7 +96,7 @@ const UserStatisticsView = () => {