Add null check for nip05 handles

This commit is contained in:
Jon Staab
2025-04-17 10:09:51 -07:00
parent c5ea7edf6b
commit 489a307a47
+3 -1
View File
@@ -57,7 +57,9 @@ export const fetchHandles = async (nip05s: string[]) => {
)
for (const {handle: nip05, info} of res?.data || []) {
handlesByNip05.set(nip05, info)
if (info) {
handlesByNip05.set(nip05, info)
}
}
} else {
const results = await Promise.all(