mirror of
https://github.com/hoornet/vega.git
synced 2026-05-07 04:39:12 -07:00
Fix search: independent relay queries, nostr: URI prefix, add nostr.wine
This commit is contained in:
@@ -199,7 +199,8 @@ export function SearchView() {
|
||||
}, []);
|
||||
|
||||
const handleSearch = async (overrideQuery?: string) => {
|
||||
const q = (overrideQuery ?? query).trim();
|
||||
// Strip nostr: URI prefix (NIP-21) so pasted share links work
|
||||
const q = (overrideQuery ?? query).trim().replace(/^nostr:/i, "");
|
||||
if (!q) return;
|
||||
if (overrideQuery) setQuery(overrideQuery);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user