Skip to content

Commit

Permalink
fix countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Megha-Dev-19 committed Sep 1, 2023
1 parent ced8e94 commit 1ca7458
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/common/ProgressTracker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ const ProgressTracker = () => {
</div>
</>
{/* to not show any countdown from 1 sept to 7 sept */}
{!electionStarted && countdown.days === 0 ? null : (
{!electionStarted &&
countdown.days === 0 &&
countdown.hours === 0 ? null : (
<div
style={{ backgroundColor: '#F29BC0' }}
className="p-2 text-white font-semibold flex gap-x-8 justify-center items-center"
Expand Down

0 comments on commit 1ca7458

Please sign in to comment.