merge error
This commit is contained in:
parent
7bbca526b8
commit
4cf64f44bd
@ -14,7 +14,7 @@ export default function NostrLink({ link }: { link: string }) {
|
|||||||
if (nav.kind === EventKind.FileHeader) {
|
if (nav.kind === EventKind.FileHeader) {
|
||||||
return <NostrFileHeader link={nav} />;
|
return <NostrFileHeader link={nav} />;
|
||||||
}
|
}
|
||||||
const evLink = eventLink(nav.id, nav.relays);
|
const evLink = nav.encode();
|
||||||
return (
|
return (
|
||||||
<Link to={`/e/${evLink}`} onClick={e => e.stopPropagation()} state={{ from: location.pathname }}>
|
<Link to={`/e/${evLink}`} onClick={e => e.stopPropagation()} state={{ from: location.pathname }}>
|
||||||
#{evLink.substring(0, 12)}
|
#{evLink.substring(0, 12)}
|
||||||
|
Loading…
Reference in New Issue
Block a user