We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b33a455 commit 939c43fCopy full SHA for 939c43f
firestore/helpers/index.ts
@@ -17,7 +17,7 @@ export const snapshotToData = <T = DocumentData>(
17
refField?: string,
18
transform?: (val: any) => T
19
) => {
20
- if (!snapshot.exists) {
+ if (!snapshot.exists()) {
21
return undefined;
22
}
23
0 commit comments