Skip to content

Commit

Permalink
Idk what's failing on mobile profile but I think I'm gonna sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Sep 29, 2024
1 parent 81e223e commit 0dfc267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/app/profile/[address]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const ProfilePage: NextPage = () => {
if (!isEditing && profileInfo) {
setUsername(profileInfo[0] || "");
setBio(profileInfo[1] || "");
setProfilePicture(profileInfo[2] != "" ? profileInfo[2] : defaultProfilePicture);
setProfilePicture(profileInfo[2] ? profileInfo[2] : defaultProfilePicture);
setWebsite(profileInfo[3] || "");
}
}, [profileInfo, isEditing]);
Expand Down

0 comments on commit 0dfc267

Please sign in to comment.