mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-27 03:56:44 +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("/search")) active = "search";
|
||||
else if (location.pathname.startsWith("/t/")) active = "search";
|
||||
else if (location.pathname.startsWith("/profile")) active = "profile";
|
||||
else if (
|
||||
account &&
|
||||
(location.pathname.startsWith("/u/" + nip19.npubEncode(account.pubkey)) ||
|
||||
|
Reference in New Issue
Block a user