Skip to content

Commit

Permalink
fix(dashboard): fix campaign end date (#8935)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
riqwan authored Sep 2, 2024
1 parent 3c2fa8c commit 2536773
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2536773

Please sign in to comment.