mirror of
https://github.com/usememos/memos.git
synced 2025-03-24 06:30:09 +01:00
fix: link embedded content to uid instead of name (#3164)
This commit is contained in:
parent
54a3c25ebd
commit
9a88e00df0
@ -58,7 +58,7 @@ const EmbeddedMemo = ({ resourceId, params: paramsStr }: Props) => {
|
||||
<div className="text-sm leading-6 text-gray-400 select-none">
|
||||
<relative-time datetime={memo.displayTime?.toISOString()} tense="past"></relative-time>
|
||||
</div>
|
||||
<Link className="hover:opacity-80" to={`/m/${memo.name}`} unstable_viewTransition>
|
||||
<Link className="hover:opacity-80" to={`/m/${memo.uid}`} unstable_viewTransition>
|
||||
<Icon.ArrowUpRight className="w-5 h-auto opacity-80 text-gray-400" />
|
||||
</Link>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user