diff --git a/packages/nextjs/app/profile/[address]/page.tsx b/packages/nextjs/app/profile/[address]/page.tsx index b89e885..31c5ffc 100644 --- a/packages/nextjs/app/profile/[address]/page.tsx +++ b/packages/nextjs/app/profile/[address]/page.tsx @@ -61,6 +61,10 @@ const ProfilePage: NextPage = () => { const handleEditProfile = async () => { try { + // Unset the current profile picture + setProfilePicture(""); + // setPreviewImage(null); + await profileInfoWriteAsync({ functionName: "setProfile", args: [username, bio, profilePicture, website],