rm /e/ and /p/ from event & profile links

This commit is contained in:
Martti Malmi
2023-10-17 11:57:47 +03:00
parent 089c40d816
commit ca18cf25e3
5 changed files with 17 additions and 7 deletions

View File

@ -238,7 +238,7 @@ export function Thread(props: { onBack?: () => void; disableSpotlight?: boolean
function navigateThread(e: TaggedNostrEvent) {
thread.setCurrent(e.id);
//router.navigate(`/e/${NostrLink.fromEvent(e).encode()}`, { replace: true })
//router.navigate(`/${NostrLink.fromEvent(e).encode()}`, { replace: true })
}
const parent = useMemo(() => {