diff --git a/src/components/Home/ConsumptionView.tsx b/src/components/Home/ConsumptionView.tsx index 55dda6574a8808af5b73707fe57a702a11780c7c..08b5ec0dbf8b32f8c785fdffef497c5282f88f28 100644 --- a/src/components/Home/ConsumptionView.tsx +++ b/src/components/Home/ConsumptionView.tsx @@ -221,7 +221,7 @@ const ConsumptionView: React.FC<ConsumptionViewProps> = ({ customPopup={customPopupModal} handleCloseClick={handleCloseCustomPopupModal} /> - {consentExpiredFluids.length && + {Boolean(consentExpiredFluids.length) && consentExpiredFluids.map(fluid => { return ( <ExpiredConsentModal