I try to develop a non-commercial React app with firestore authentication. My context which provides me state of user whether it is logged in or logged out:
expor