diff --git a/app/profile/page.tsx b/app/profile/page.tsx index b429b6e5..86bc7803 100644 --- a/app/profile/page.tsx +++ b/app/profile/page.tsx @@ -24,7 +24,7 @@ async function getData() { // change to profile's username const q = query( collection(db, "feed_content"), - where("username", "==", user.id) + where("username", "==", user.name) ); const qSnapshot = await getDocs(q);