Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add User to list #30

Open
Siddharth-Pandore opened this issue Jun 23, 2024 · 3 comments
Open

Add User to list #30

Siddharth-Pandore opened this issue Jun 23, 2024 · 3 comments

Comments

@Siddharth-Pandore
Copy link

Hello guys does anybody facing the issue of the adding chat id to userchats section, video time 2:25.
In which I'm able to fetch the chat id in console log and in the search field, but unable to Add user to list.
Screenshot 2024-06-23 165301

@miecrose12
Copy link

same here i hope someone would come through

@alibkm95
Copy link

alibkm95 commented Jun 28, 2024

hey guys, i just find the error reason. in ChatList.jsx in promises just log out the item.recieverId before the userDocRef. if its undefined it means you have a typo and you are pointing to a field of document that is not exists. so you can go to your fireStore console and copy the exact name of the field and use it. in this way you will solve the problem.

Screenshot (212)

Screenshot (211)

I hope this solves your problem

@Siddharth-Pandore
Copy link
Author

Hello! Ali, I'm getting the receiverId in the console.log but where to use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants