diff --git a/src/components/card/DragAndDropCards.js b/src/components/card/DragAndDropCards.js index e282854..8051e0b 100644 --- a/src/components/card/DragAndDropCards.js +++ b/src/components/card/DragAndDropCards.js @@ -29,7 +29,7 @@ export default function DragAndDropCards({ municipalities }) { return ( - {(provided) => ( + {(provided, snapshot) => ( {municipalities.map((municipality, index) => ( )} diff --git a/src/components/card/MunicipalityCard.js b/src/components/card/MunicipalityCard.js index 53fbe61..66c9e00 100644 --- a/src/components/card/MunicipalityCard.js +++ b/src/components/card/MunicipalityCard.js @@ -46,6 +46,7 @@ export default function MunicipalityCard({ provided, closeButtonHidden, handleDateLimitChange, + isDraggingOver, }) { const dispatch = useMunicipalitiesDispatch(); @@ -136,7 +137,11 @@ export default function MunicipalityCard({ } title={name} /> - +