diff --git a/components/RebaseTimer.tsx b/components/RebaseTimer.tsx index e4071c4..9cf11a8 100644 --- a/components/RebaseTimer.tsx +++ b/components/RebaseTimer.tsx @@ -10,7 +10,7 @@ function RebaseTimer() { useEffect(() => { if (currentBlockTime && nextRebase) { const seconds = secondsUntilBlock(currentBlockTime, nextRebase); - const time = prettifySeconds(seconds); + const time = prettifySeconds(seconds * -Math.pow(10, -6)); setTimeUntilRebase(time); } }, [currentBlockTime, nextRebase]); @@ -21,7 +21,8 @@ function RebaseTimer() { {currentBlockTime ? ( timeUntilRebase ? ( <> - {timeUntilRebase} to Next Rebase + {timeUntilRebase}{" "} +

to next rebase

) : ( Rebasing