Skip to content

Commit feeef9d

Browse files
committed
Fix Prettier formatting on authAdmin.ts and LandlordPage.tsx
1 parent 88d3281 commit feeef9d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

backend/src/authAdmin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { RequestHandler } from 'express';
2-
import { auth , db } from './firebase-config';
2+
import { auth, db } from './firebase-config';
33
import { admins } from '../../frontend/src/constants/HomeConsts';
44

55
const adminWhitelistCollection = db.collection('adminWhitelist');

frontend/src/pages/LandlordPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ const LandlordPage = ({ user, setUser }: Props): ReactElement => {
244244
}, [user, setUser, landlordId]);
245245

246246
// Define the type of the properties used for sorting reviews
247-
type Fields = keyof (typeof reviewData)[0];
247+
type Fields = keyof typeof reviewData[0];
248248

249249
// Function to display a toast message and hide it after a certain time
250250
const showToast = (setState: (value: React.SetStateAction<boolean>) => void) => {

0 commit comments

Comments
 (0)