chore: tweak words

This commit is contained in:
Steven 2024-09-29 22:49:29 +08:00
parent 69ad5178b3
commit 771a977c9f
2 changed files with 3 additions and 2 deletions

View File

@ -364,6 +364,7 @@ const MemoEditor = (props: Props) => {
isRequesting: false, isRequesting: false,
resourceList: [], resourceList: [],
relationList: [], relationList: [],
location: undefined,
}; };
}); });
}; };

View File

@ -65,7 +65,7 @@ const UserStatisticsView = () => {
await memoServiceClient.rebuildMemoProperty({ await memoServiceClient.rebuildMemoProperty({
name: "memos/-", name: "memos/-",
}); });
toast.success("Refresh successfully"); toast.success("Rebuild memo properties successfully.");
window.location.reload(); window.location.reload();
}; };
@ -96,7 +96,7 @@ const UserStatisticsView = () => {
<PopoverContent align="end" alignOffset={-12}> <PopoverContent align="end" alignOffset={-12}>
<button className="w-auto flex flex-row justify-between items-center gap-2 hover:opacity-80" onClick={rebuildMemoTags}> <button className="w-auto flex flex-row justify-between items-center gap-2 hover:opacity-80" onClick={rebuildMemoTags}>
<RefreshCcwIcon className="text-gray-400 w-4 h-auto cursor-pointer opacity-60" /> <RefreshCcwIcon className="text-gray-400 w-4 h-auto cursor-pointer opacity-60" />
<span className="text-sm shrink-0 text-gray-500 dark:text-gray-400">Refresh</span> <span className="text-sm shrink-0 text-gray-500 dark:text-gray-400">Rebuild properties</span>
</button> </button>
</PopoverContent> </PopoverContent>
</Popover> </Popover>