fix(dashboard): fix campaign end date (#8935)

what:

- scopes the conditional to the right date attribute

<img width="1027" alt="Screenshot 2024-09-02 at 11 47 09" src="https://github.com/user-attachments/assets/87048b93-e118-4548-80ee-2564bc2e56e5">

RESOLVES CC-68
This commit is contained in:
Riqwan Thamir
2024-09-02 09:59:24 +00:00
committed by GitHub
parent 3c2fa8cdad
commit 25367734c7
@@ -150,7 +150,7 @@ export const CampaignGeneralSection = ({
</Text>
<Text size="small" leading="compact">
{campaign.starts_at ? formatDate(campaign.ends_at) : "-"}
{campaign.ends_at ? formatDate(campaign.ends_at) : "-"}
</Text>
</div>
</Container>