From 531c028b26dd4e36e6cb10657395d310c6798cb3 Mon Sep 17 00:00:00 2001 From: ani-kalpachka Date: Wed, 16 Nov 2022 01:21:06 +0200 Subject: [PATCH] Increase visible campaigns number --- src/components/campaigns/CampaignsList.tsx | 2 +- .../index/sections/CampaignsSection/CampaignsSection.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/campaigns/CampaignsList.tsx b/src/components/campaigns/CampaignsList.tsx index 0ef5836f4..be6f301ba 100644 --- a/src/components/campaigns/CampaignsList.tsx +++ b/src/components/campaigns/CampaignsList.tsx @@ -24,7 +24,7 @@ type Props = { campaignToShow: CampaignResponse[] } export default function CampaignsList({ campaignToShow }: Props) { const { t } = useTranslation() const { mobile } = useMobile() - const numberOfMinimalShownCampaigns = 6 + const numberOfMinimalShownCampaigns = 12 const [all, setAll] = useState(false) const campaigns = useMemo(() => { if (all) { diff --git a/src/components/index/sections/CampaignsSection/CampaignsSection.tsx b/src/components/index/sections/CampaignsSection/CampaignsSection.tsx index 248438848..9276c9372 100644 --- a/src/components/index/sections/CampaignsSection/CampaignsSection.tsx +++ b/src/components/index/sections/CampaignsSection/CampaignsSection.tsx @@ -28,7 +28,7 @@ export default function CampaignsSection() { {t('campaign.urgent-campaigns')} - {data?.slice(0, 8).map((campaign, index) => ( + {data?.slice(0, 12).map((campaign, index) => (