diff --git a/src/js/views/Profile.js b/src/js/views/Profile.js index 285a4108..6a9ff80b 100644 --- a/src/js/views/Profile.js +++ b/src/js/views/Profile.js @@ -372,6 +372,9 @@ class Profile extends View { Nostr.getProfile( address, (profile) => { + if (!profile) { + return; + } if (profile.nip05 && profile.nip05valid) { // replace url and history entry with iris.to/${profile.nip05} or if nip is user@iris.to, just iris.to/${user} const nip05 = profile.nip05;