updated clicking on user to redirect to the new profile page

This commit is contained in:
2023-03-29 16:23:23 -04:00
parent 09bda9fbfd
commit 873e7f72ff

View File

@@ -68,7 +68,7 @@ function populateUsers(items) {
joinDate.innerHTML = item.joinDate
row.addEventListener("click", () => {
window.location.href = `../Profile Page/page2.html?id=${item.id}`;
window.location.href = `../Profile Page/profile.html?id=${item.id}#`;
});
row.addEventListener("mouseover", () => {
row.style.cursor = "pointer";