Firebase: Firebase App named '[DEFAULT]-firebaseui-temp' already exists (app/duplicate-app). react code example
Example: Firebase: Firebase App named '[DEFAULT]' already exists
if (!firebase.apps.length) {
firebase.initializeApp({});
}
if (!firebase.apps.length) {
firebase.initializeApp({});
}