merge error

This commit is contained in:
Kieran 2023-04-17 10:26:17 +01:00
parent 7bbca526b8
commit 4cf64f44bd
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -14,7 +14,7 @@ export default function NostrLink({ link }: { link: string }) {
if (nav.kind === EventKind.FileHeader) {
return <NostrFileHeader link={nav} />;
}
const evLink = eventLink(nav.id, nav.relays);
const evLink = nav.encode();
return (
<Link to={`/e/${evLink}`} onClick={e => e.stopPropagation()} state={{ from: location.pathname }}>
#{evLink.substring(0, 12)}