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

FirebaseError #39

Open
harshithvh opened this issue Jul 3, 2022 · 0 comments
Open

FirebaseError #39

harshithvh opened this issue Jul 3, 2022 · 0 comments

Comments

@harshithvh
Copy link

harshithvh commented Jul 3, 2022

Getting this error :
Uncaught FirebaseError: Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?
The above error occurred in the ChatRoom component

But if I remove this line
const [messages] = useCollectionData(q);
everything works fine

Any help would be appreciated

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

1 participant