Skip to content

Commit

Permalink
Merge pull request #200 from near-ndc/develop
Browse files Browse the repository at this point in the history
Bug Fix: Countdown timer UI (#199)
  • Loading branch information
Megha-Dev-19 authored Sep 1, 2023
2 parents 0caba09 + 8f60586 commit abe94fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/components/common/ProgressTracker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ 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 &&
countdown.minutes === 0 &&
countdown.seconds === 0 ? null : (
<div
style={{ backgroundColor: '#F29BC0' }}
className="p-2 text-white font-semibold flex gap-x-8 justify-center items-center"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/auth/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ const Home = () => {
<PrimaryButton
onClick={() =>
window.open(
'https://docs.google.com/forms/d/e/1FAIpQLSfa3S6Qz1MdiJEXINMICv9O9oVD7LOdwiPmHI_4_gCLAhN0CA/viewform',
'https://airtable.com/appgHJzUuw1Kb2GJV/shrCdvjmWMzwaMEj8',
'_blank'
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function getConfig() {
case 'dev':
return {
network_id: 'testnet',
app_contract: 'registry-unstable.i-am-human.testnet',
app_contract: 'registry-1.i-am-human.testnet',
og_contract: 'community-v1.i-am-human.testnet',
// gooddollar_contract: 'gooddollar-v1.i-am-human.testnet',
// fractal_contract: 'fractal-1.i-am-human.testnet', // for DEV ENV
Expand Down

0 comments on commit abe94fd

Please sign in to comment.