Bla
Bla
Bla
jsx
import { createContext, useContext, useState } from "react";
import { db, realTimeDb } from "../services/firebase";
import { collection, addDoc, getDocs } from "firebase/firestore";
import { ref, push } from "firebase/database";
return (
<RideContext.Provider value={{ rides, publishRide, sendNotification, fetchRides
}}>
{children}
</RideContext.Provider>
);
}