+
)}
@@ -147,4 +152,4 @@ function Home({ params }) {
);
}
-export default Home;
+export default UserProfile;
diff --git a/frontend-next/src/components/app/profile/ProfileEdit.js b/frontend-next/src/components/app/profile/ProfileEdit.js
index b22964b..5efe0bd 100644
--- a/frontend-next/src/components/app/profile/ProfileEdit.js
+++ b/frontend-next/src/components/app/profile/ProfileEdit.js
@@ -11,7 +11,10 @@ export function ProfileEdit({ profileData, user, onSave }) {
onSave(false);
};
+ // Handles clicking save button
function save({ data }) {
+
+ // Profile pic handling
if (data.pfp[0]) {
// image stuff
uploadBytes(sRef(storage, `users/${user.uid}/pfp`), data.pfp[0]).then(