Fix crime & add actual listings
This commit is contained in:
parent
017902b8e6
commit
ebe7bbb51d
34 changed files with 2014 additions and 172754 deletions
|
|
@ -1,7 +1,14 @@
|
|||
import { Suspense, type MutableRefObject, type ReactNode } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import type { FeatureFilters, FeatureMeta, POI, PostcodeGeometry, ViewState } from '../../../types';
|
||||
import type {
|
||||
ActualListing,
|
||||
FeatureFilters,
|
||||
FeatureMeta,
|
||||
POI,
|
||||
PostcodeGeometry,
|
||||
ViewState,
|
||||
} from '../../../types';
|
||||
import type { useMapData } from '../../../hooks/useMapData';
|
||||
import type { useTutorial } from '../../../hooks/useTutorial';
|
||||
import type { TravelTimeEntry } from '../../../hooks/useTravelTime';
|
||||
|
|
@ -45,6 +52,7 @@ interface DesktopMapPageProps {
|
|||
onLocationSearched: (location: SearchedLocation | null) => void;
|
||||
onCurrentLocationFound: (lat: number, lng: number) => void;
|
||||
currentLocation: { lat: number; lng: number } | null;
|
||||
actualListings: ActualListing[];
|
||||
travelTimeEntries: TravelTimeEntry[];
|
||||
densityLabel: string;
|
||||
totalCount?: number;
|
||||
|
|
@ -90,6 +98,7 @@ export function DesktopMapPage({
|
|||
onLocationSearched,
|
||||
onCurrentLocationFound,
|
||||
currentLocation,
|
||||
actualListings,
|
||||
travelTimeEntries,
|
||||
densityLabel,
|
||||
totalCount,
|
||||
|
|
@ -180,6 +189,7 @@ export function DesktopMapPage({
|
|||
onLocationSearched={onLocationSearched}
|
||||
onCurrentLocationFound={onCurrentLocationFound}
|
||||
currentLocation={currentLocation}
|
||||
actualListings={actualListings}
|
||||
bounds={mapData.bounds}
|
||||
hideTopCardsWhenNarrow
|
||||
travelTimeEntries={travelTimeEntries}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue