NIP-94 file headers #488

Merged
v0l merged 7 commits from nip94 into main 2023-04-17 10:57:13 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 4cf64f44bd - Show all commits

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)}