As I have not used firebase realtime DB only using firestore, if I disable the realtime db from firebase console, it stops the react app from running after login is success. I do have databaseURL property in firebase config. So how to detach the realtime firebase db from the react app. So that even if I disable realtime db from firebase it shouldn't affect my app.
import app from 'firebase/app';
import 'firebase/auth';
import 'firebase/database';
const firebaseConfig = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: ""
};
const db = app.database();