From d4887a602a27fdd1475b26dc45d30eeed817c23c Mon Sep 17 00:00:00 2001 From: Megha-Dev-19 <100185149+Megha-Dev-19@users.noreply.github.com> Date: Sat, 2 Sep 2023 05:28:49 +0530 Subject: [PATCH 1/2] Close OG SBT (#197) --- src/pages/CommunitySBT.jsx | 9 ++------- src/pages/unAuth/index.js | 13 +------------ 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/src/pages/CommunitySBT.jsx b/src/pages/CommunitySBT.jsx index daa8957..db2f0e9 100644 --- a/src/pages/CommunitySBT.jsx +++ b/src/pages/CommunitySBT.jsx @@ -43,13 +43,8 @@ const CommunitySBTPage = () => { imageSrc={ImageSrc.OGSBT} title="OG" description="The OG SBT represents your commitment and dedication to NEAR, highlighting your continuous presence and involvement in shaping the NEAR ecosystem." - isAvailable={true} - onClick={() => - window.open( - 'https://docs.google.com/forms/d/e/1FAIpQLSfQ80mza1ssDRuEkjTl61ty0ORxm23whmwBDlaxWHjodTiz-w/viewform', - '_blank' - ) - } + isAvailable={false} + buttonText="Closed" /> { involvement in shaping the NEAR ecosystem.

-
From 920a9623c43783920fedf729c86bf84690fb31ab Mon Sep 17 00:00:00 2001 From: Megha-Dev-19 <100185149+Megha-Dev-19@users.noreply.github.com> Date: Sat, 2 Sep 2023 06:16:35 +0530 Subject: [PATCH 2/2] Bug Fix: negative counter issue (#202) --- src/components/common/ProgressTracker.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/common/ProgressTracker.jsx b/src/components/common/ProgressTracker.jsx index 6afadbe..acbb1a5 100644 --- a/src/components/common/ProgressTracker.jsx +++ b/src/components/common/ProgressTracker.jsx @@ -170,10 +170,10 @@ const ProgressTracker = () => { {/* to not show any countdown from 1 sept to 7 sept */} {!electionStarted && - countdown.days === 0 && - countdown.hours === 0 && - countdown.minutes === 0 && - countdown.seconds === 0 ? null : ( + countdown.days <= 0 && + countdown.hours <= 0 && + countdown.minutes <= 0 && + countdown.seconds <= 0 ? null : (