Unverified Commit 9a88e00d authored by The Anh Nguyen's avatar The Anh Nguyen Committed by GitHub

fix: link embedded content to uid instead of name (#3164)

parent 54a3c25e
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment