//Configuracion de firebase

import firebase from 'firebase/compat/app';
import 'firebase/compat/auth';
import 'firebase/compat/firestore';

//configuracion de firebase 

const firebaseConfig = {
  apiKey: "AIzaSyAG2ptRYk4VWzgFmAuswclN203Gfl2EUAU",
  authDomain: "eyesapp-3638d.firebaseapp.com",
  projectId: "eyesapp-3638d",
  storageBucket: "eyesapp-3638d.appspot.com",
  messagingSenderId: "284371294255",
  appId: "1:284371294255:web:cc2c0e82eed95610410eda"
};

if (!firebase.apps.length){
    firebase.initializeApp(firebaseConfig);
}

export { firebase };

