diff --git a/src/components/map/legend/sortable/list.tsx b/src/components/map/legend/sortable/list.tsx index 13a82b200..f0efd7d36 100644 --- a/src/components/map/legend/sortable/list.tsx +++ b/src/components/map/legend/sortable/list.tsx @@ -94,7 +94,7 @@ export const SortableList: React.FC = ({ const { active, over } = event; setActiveId(null); - if (active.id !== over.id) { + if (active.id !== over?.id) { const oldIndex = itemsIds.indexOf(active.id); const newIndex = itemsIds.indexOf(over.id); diff --git a/src/containers/datasets/national-dashboard/indicator-source/index.tsx b/src/containers/datasets/national-dashboard/indicator-source/index.tsx index d782d53e8..6fc16619f 100644 --- a/src/containers/datasets/national-dashboard/indicator-source/index.tsx +++ b/src/containers/datasets/national-dashboard/indicator-source/index.tsx @@ -133,14 +133,15 @@ const IndicatorSource = ({ - -