diff --git a/src/containers/datasets/alerts/hooks.tsx b/src/containers/datasets/alerts/hooks.tsx index 75f07602d..744fedea5 100644 --- a/src/containers/datasets/alerts/hooks.tsx +++ b/src/containers/datasets/alerts/hooks.tsx @@ -166,7 +166,7 @@ export function useAlerts( method: 'GET', url: '/fetch-alerts', params: { - location_id, + ...(location_id ? { location_id } : { location_id: 'worldwide' }), ...params, }, }).then((response) => response.data); diff --git a/src/containers/datasets/contextual-layers/planet/contextual-basemaps/card.tsx b/src/containers/datasets/contextual-layers/planet/contextual-basemaps/card.tsx index e5d8312da..a9041c420 100644 --- a/src/containers/datasets/contextual-layers/planet/contextual-basemaps/card.tsx +++ b/src/containers/datasets/contextual-layers/planet/contextual-basemaps/card.tsx @@ -84,7 +84,7 @@ const CardBasemapContextual = ({ id, type, name, description }: CardBasemapConte onClick={handleClick} data-testid={id} className={cn({ - [`relative mr-10 h-24 w-24 shrink-0 rounded-xl border-4 border-transparent bg-cover bg-center`]: + [`relative mr-10 h-24 w-24 shrink-0 rounded-xl border-4 border-transparent bg-cover bg-center`]: true, 'border-brand-800': isActive, })} diff --git a/src/containers/map/index.tsx b/src/containers/map/index.tsx index 8898bd132..91df0cd75 100644 --- a/src/containers/map/index.tsx +++ b/src/containers/map/index.tsx @@ -53,6 +53,7 @@ import type { RestorationPopUp, PopUpKey, LocationPopUp } from 'types/map'; import LayerManager from './layer-manager'; import LocationPopup from './location-pop-up'; +import Restoration from 'containers/datasets/restoration/widget'; export const DEFAULT_PROPS = { initialViewState: {