AhsanAyaz / AhsanAyaz/quran-notes-keeper
Handling FIREBASE_MEASUREMENT_ID
Aperta
- Lingua principale
- TypeScript
- Stelle
- 13
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
The `.env.example` contains `VITE_FIREBASE_MEASUREMENT_ID`, but it is actually unused in the codebase. If I may suggest, we need to either:
1. Use it for analytics properly
```ts
const firebaseConfig = {
...
measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID,
};
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
```
2. Remove it from `.env.example`
I'll be happy to push the fix once a decision is made!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.