diff --git a/web/components/Campaign/Places/Detail/CampaignPlaceDetail.tsx b/web/components/Campaign/Places/Detail/CampaignPlaceDetail.tsx index 03b9a34..739cec8 100644 --- a/web/components/Campaign/Places/Detail/CampaignPlaceDetail.tsx +++ b/web/components/Campaign/Places/Detail/CampaignPlaceDetail.tsx @@ -40,9 +40,11 @@ const CampaignPlaceDetail = ({ place }: Props) => { ) }, [place]) - const { campaignDispos, solidarityDisposNum } = useCampaignDispo( - place?.disponibilities, - ) + const { + campaignDispos, + solidarityDisposNum, + campaignDisposNum, + } = useCampaignDispo(place?.disponibilities) return ( @@ -81,7 +83,9 @@ const CampaignPlaceDetail = ({ place }: Props) => { )} - + {Boolean(solidarityDisposNum && campaignDispos) && ( + + )} {isMobile && (