This commit is contained in:
parent
5f2cc0567f
commit
2920c2afaa
@ -40,6 +40,8 @@ export function Header() {
|
|||||||
} else if (nostrLink.type === NostrPrefix.PublicKey || nostrLink.type === NostrPrefix.Profile) {
|
} else if (nostrLink.type === NostrPrefix.PublicKey || nostrLink.type === NostrPrefix.Profile) {
|
||||||
title = <DisplayName pubkey={bech32ToHex(pageName)} />;
|
title = <DisplayName pubkey={bech32ToHex(pageName)} />;
|
||||||
}
|
}
|
||||||
|
} else if (location.pathname.startsWith("/t/")) {
|
||||||
|
title = <span>#{location.pathname.split("/").slice(-1)}</span>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user