get data from firestore and save it to state

 const handleReload = () => {
        db.collection('users').doc(id).get()
            .then(snapshot => setUserDetails(snapshot.data()))
    }