chore: fix memo links

This commit is contained in:
Steven
2024-03-30 13:04:40 +08:00
parent 9a88e00df0
commit c8baeb86ec
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ const MemoActionMenu = (props: Props) => {
const location = useLocation();
const navigateTo = useNavigateTo();
const memoStore = useMemoStore();
const isInMemoDetailPage = location.pathname.startsWith(`/m/${memo.name}`);
const isInMemoDetailPage = location.pathname.startsWith(`/m/${memo.uid}`);
const handleTogglePinMemoBtnClick = async () => {
try {