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

Basic Example for querying firestore collections duplicate variable #67

Open
raphrstuff opened this issue Sep 1, 2022 · 1 comment
Open

Comments

@raphrstuff
Copy link

The example here under Basic Example imports "query" but also declares a const query in the function body causing this example not to work.

@Molnfront
Copy link

It also gives an error:

Uncaught ReferenceError: Cannot access 'query' before initialization

If I move the query before the function it works, but then I am not able to give it where variables.

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

2 participants