Skip to content

Commit 56ef15e

Browse files
committed
lint fix
1 parent baf2bdb commit 56ef15e

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/app/layout.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ import { Container } from '@mui/material';
1414
export const metadata = {
1515
title: 'Mobility Database',
1616
description: 'Mobility Database',
17-
robots: process.env.VERCEL_ENV === 'production'
18-
? 'index, follow'
19-
: 'noindex, nofollow',
17+
robots:
18+
process.env.VERCEL_ENV === 'production'
19+
? 'index, follow'
20+
: 'noindex, nofollow',
2021
};
2122

2223
const mulish = Mulish({

src/app/robots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ export default function robots(): MetadataRoute.Robots {
1313
],
1414
sitemap: isProd ? 'https://mobilitydatabase.org/sitemap.xml' : undefined,
1515
};
16-
}
16+
}

src/lib/firebase-admin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export function getFirebaseAdminApp(): App {
1919
if (existingApps.length > 0) {
2020
adminApp = existingApps.find(
2121
(existingApp) =>
22-
existingApp.options.projectId === process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
22+
existingApp.options.projectId ===
23+
process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
2324
);
2425
if (adminApp != undefined) {
2526
return adminApp;

0 commit comments

Comments
 (0)