Currently, we are using React Context which pretty much acts as a "Global State" across files.
We have a MatchDataProvider, accessing the Firebase Database (Cloud Firestore) for matches. We also have a DatabaseProvider (poorly named), accessing the Firebase Storage for logos.
Please move logic from DatabaseProvider into MatchDataProvider. Update references towards the Context and layout.js, which currently uses both:
Currently, we are using React Context which pretty much acts as a "Global State" across files.
We have a MatchDataProvider, accessing the Firebase Database (Cloud Firestore) for matches. We also have a DatabaseProvider (poorly named), accessing the Firebase Storage for logos.
Please move logic from DatabaseProvider into MatchDataProvider. Update references towards the Context and layout.js, which currently uses both: