diff --git a/app/src/frontend/map/layers/historic-data-layer.tsx b/app/src/frontend/map/layers/historic-data-layer.tsx index 5d5169ea..4bbe5080 100644 --- a/app/src/frontend/map/layers/historic-data-layer.tsx +++ b/app/src/frontend/map/layers/historic-data-layer.tsx @@ -5,7 +5,7 @@ import { BuildingBaseLayerAllZoom } from './building-base-layer-all-zoom'; import { useDisplayPreferences } from '../../displayPreferences-context'; import { BuildingDataLayer } from './building-data-layer'; -export function HistoricDataLayer({}) { +export function HistoricDataLayer({revisionId}: {revisionId: string}) { const { historicData } = useDisplayPreferences(); if(historicData == "enabled") { return <> @@ -14,7 +14,7 @@ export function HistoricDataLayer({}) { attribution='© CC BY 4.0 - Reproduced with the permission of the National Library of Scotland' /> - + } else { return null; diff --git a/app/src/frontend/map/map.tsx b/app/src/frontend/map/map.tsx index 9c2ffcbc..a1cb637a 100644 --- a/app/src/frontend/map/map.tsx +++ b/app/src/frontend/map/map.tsx @@ -128,7 +128,7 @@ export const ColouringMap : FC = ({ style={{zIndex: 300}} > - +