Skip to content

Commit

Permalink
fix: profile filtering issue (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiecra authored Dec 2, 2022
2 parents 89a5b48 + 294d234 commit 4d68243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4d68243

Please sign in to comment.