Skip to content

Commit

Permalink
login fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gzuuus committed Jan 23, 2024
1 parent a1e22f7 commit 5f46774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export async function NDKlogin(): Promise<NDKUser | undefined> {
const followsArray = Array.from(followsSet as Set<NDKUser>);
currentUserFollows.set(followsArray.map((user) => user.pubkey));
const userProfile = await user.fetchProfile();
await isNip05Valid(userProfile?.nip05, userProfile?.npub);
await isNip05Valid(userProfile?.nip05, user.npub);
const nip05ValidStore = getStore(isNip05ValidStore);
localStore.update((currentState) => {
return {
Expand Down

0 comments on commit 5f46774

Please sign in to comment.