feat: UserState

This commit is contained in:
2024-04-22 14:38:14 +01:00
parent 5a7657a95d
commit 80a4b5d8e6
103 changed files with 4179 additions and 1165 deletions

View File

@ -201,7 +201,7 @@ export async function fetchNostrAddress(name: string, domain: string, timeout =
}
export function removeUndefined<T>(v: Array<T | undefined>) {
return v.filter(a => a != undefined).map(a => unwrap(a));
return v.filter(a => a !== undefined).map(a => unwrap(a));
}
/**