Browse Source

fix: cooldown (#1945)

guibescos 1 year ago
parent
commit
3ec255a3a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/staking/src/components/ProgramSection/index.tsx

+ 2 - 2
apps/staking/src/components/ProgramSection/index.tsx

@@ -210,13 +210,13 @@ const TokenOverview = ({
           {cooldown > 0n && (
             <div className="mt-2 text-xs text-neutral-500">
               <Tokens>{cooldown}</Tokens> end{" "}
-              {epochToDate(currentEpoch + 1n).toLocaleString()}
+              {epochToDate(currentEpoch + 2n).toLocaleString()}
             </div>
           )}
           {cooldown2 > 0n && (
             <div className="mt-2 text-xs text-neutral-500">
               <Tokens>{cooldown2}</Tokens> end{" "}
-              {epochToDate(currentEpoch + 2n).toLocaleString()}
+              {epochToDate(currentEpoch + 1n).toLocaleString()}
             </div>
           )}
         </>