diff --git a/web/components/Campaign/Places/Detail/CampaignDetailTabs.tsx b/web/components/Campaign/Places/Detail/CampaignDetailTabs.tsx index 499f65c..5cfcbb4 100644 --- a/web/components/Campaign/Places/Detail/CampaignDetailTabs.tsx +++ b/web/components/Campaign/Places/Detail/CampaignDetailTabs.tsx @@ -1,15 +1,11 @@ import { Button, HStack } from '@chakra-ui/react' import { useTranslation } from 'next-i18next' -import useCampaignContext from '~components/Campaign/useCampaignContext' import { useRouter } from 'next/router' import { useContext, useEffect, useState } from 'react' +import useCampaignContext from '~components/Campaign/useCampaignContext' import BookingScheduleContext from '~components/Place/Booking/BookingScheduleContext' -const CampaignDetailTabs = ({ - hasSolidarityDispo, -}: { - hasSolidarityDispo: boolean -}) => { +const CampaignDetailTabs = () => { const { currentCampaign } = useCampaignContext() const { t } = useTranslation('place') const router = useRouter() @@ -38,17 +34,15 @@ const CampaignDetailTabs = ({ borderRadius="18px" padding={2} > - {hasSolidarityDispo && ( - - )} +