From 771a977c9fc7049e0a96c5308c0a75760e335dab Mon Sep 17 00:00:00 2001 From: Steven Date: Sun, 29 Sep 2024 22:49:29 +0800 Subject: [PATCH] chore: tweak words --- web/src/components/MemoEditor/index.tsx | 1 + web/src/components/UserStatisticsView.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 = () => {