+ {/* Profile Picture */}
+
+ {/*
*/}
- {/* User Info Section */}
-
+ {/* User Info Section */}
+
+ {isEditing ? (
+
+ ) : (
+ <>
+
{name || "Guest user"}
+
+
{bio || "no biography available"}
+ {website && (
+
+ {website}
+
+ )}
+ >
+ )}
+
+ {/* Div to align info in the center */}
+
+ {/* User Bio */}{" "}
{isEditing ? (
-
+
+ <>
+
+
+ >
+
) : (
+ <>>
+ )}
+ {/* Edit/Cancel Button */}
+ {address === connectedAddress && (
<>
-
{name || "Guest user"}
-
-
{bio || "no biography available"}
- {website && (
-
- {website}
-
+ {isEditing ? (
+
+ ) : (
+
+ )}
+ {isEditing && (
+
+
+
)}
>
)}
- {/* Div to align info in the center */}
-
- {/* User Bio */}{" "}
- {isEditing ? (
-
- <>
-
-
- >
-
- ) : (
- <>>
- )}
- {/* Edit/Cancel Button */}
- {address === connectedAddress && (
- <>
- {isEditing ? (
-
- ) : (
-
- )}
- {isEditing && (
-
-
-
- )}
- >
- )}
}
{listedCollectibles.length === 0 ? (
@@ -240,7 +241,7 @@ const ProfilePage: NextPage = () => {
) : (