Hey, do you have a working copy like a codepen or codesandbox where the error can be reproduced? Also, there is no need for the then callback to be async here
usersRef.get().then(async(docSnapshot)=>{if(docSnapshot.exists){console.log('user already exists in firestore')returntrue}else{console.log('no user in firestore')returnfalse}})
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, do you have a working copy like a codepen or codesandbox where the error can be reproduced? Also, there is no need for the then callback to be async here