Fix remaining ESLint errors: replace img with Next.js Image, fix useEffect dependency, correct nodemailer method
This commit is contained in:
1 parent
8b189f4caa
commit
6a997d9931
5 files changed
+15
-13
No files matched your search
@@ -31,6 +31,7 @@ export const db = getFirestore(app);
|
||||
export const storage = getStorage(app);
|
||||
|
||||
// Initialize Firebase Analytics and get a reference to the service
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
let analytics: any = null;
|
||||
if (typeof window !== 'undefined') {
|
||||
import('firebase/analytics').then(({ getAnalytics, isSupported }) => {
|
||||
|
||||
Reference in new issue
Block a user