AhsanAyaz / AhsanAyaz/quran-notes-keeper
Handling FIREBASE_MEASUREMENT_ID
Open
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.