mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-30 14:05:28 +02:00
small fix for nav items
This commit is contained in:
@@ -49,6 +49,7 @@ export default function NavItems() {
|
|||||||
else if (location.pathname.startsWith("/tools")) active = "tools";
|
else if (location.pathname.startsWith("/tools")) active = "tools";
|
||||||
else if (location.pathname.startsWith("/search")) active = "search";
|
else if (location.pathname.startsWith("/search")) active = "search";
|
||||||
else if (location.pathname.startsWith("/t/")) active = "search";
|
else if (location.pathname.startsWith("/t/")) active = "search";
|
||||||
|
else if (location.pathname.startsWith("/profile")) active = "profile";
|
||||||
else if (
|
else if (
|
||||||
account &&
|
account &&
|
||||||
(location.pathname.startsWith("/u/" + nip19.npubEncode(account.pubkey)) ||
|
(location.pathname.startsWith("/u/" + nip19.npubEncode(account.pubkey)) ||
|
||||||
|
Reference in New Issue
Block a user