From 0dfc2671eb297b35170dd8d023ea3fd4c25b343b Mon Sep 17 00:00:00 2001 From: Lulox Date: Sun, 29 Sep 2024 05:50:46 -0300 Subject: [PATCH] Idk what's failing on mobile profile but I think I'm gonna sleep --- packages/nextjs/app/profile/[address]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/app/profile/[address]/page.tsx b/packages/nextjs/app/profile/[address]/page.tsx index 39f0827..0841cc5 100644 --- a/packages/nextjs/app/profile/[address]/page.tsx +++ b/packages/nextjs/app/profile/[address]/page.tsx @@ -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]);