Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We get the snapshot of data using 'getDoc()' and get result 'docSnap' And then we perform check on this 'docSnap' in the if else block So in the else block the comment should ne docSnap.data() will ne undefined
- Loading branch information