Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
avibedi1768 committed Sep 13, 2023
1 parent fca0d02 commit 2ae20c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/jsx/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function Profile() {
const addMsgs = []
for (var i = 0; i < n; i++) {
console.log(i)
get(ref(db, 'username/' + 'raghav' + '/messages/' + i + '/message'))
get(ref(db, 'username/' + user + '/messages/' + i + '/message'))
.then((snapshot) => {
let message = snapshot.val()
console.log(message)
Expand Down

0 comments on commit 2ae20c1

Please sign in to comment.