Skip to content

Commit 76fbc0f

Browse files
author
Anthony Li
committed
fix formatting
1 parent 6e0252a commit 76fbc0f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/components/listings/detail/ListingDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const ListingDetail = ({ listing }: Props) => {
4949
/>
5050
{hasLocation && (
5151
<div className="space-y-3">
52-
<h2 className="text-lg font-semibold">Where you'll be living</h2>
52+
<h2 className="text-lg font-semibold">{"Where you'll be living"}</h2>
5353
<SubletMap
5454
latitude={subletCoords.latitude!}
5555
longitude={subletCoords.longitude!}

frontend/lib/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ export type SubletAdditionalData = {
4444
baths: number;
4545
start_date: string;
4646
end_date: string;
47-
latitude: number | null;
48-
longitude: number | null;
47+
latitude?: number | null;
48+
longitude?: number | null;
4949
};
5050

5151
// ------------------------------------------------------------

0 commit comments

Comments
 (0)