When you go to the second tab, it gives an error
"Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app)." Connect to database
export const DB_CONFIG = { apiKey: "", authDomain: "", databaseURL: "", projectId: "", storageBucket: "", messagingSenderId: "" }; I call on 2 pages
import firebase from 'firebase'; import {DB_CONFIG} from '../Config.js' this.app = firebase.initializeApp(DB_CONFIG); this.database = this.app.database().ref('driversApp/ordersData/').child(key);