Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboydiamonds committed Mar 13, 2024
1 parent 2f3b577 commit 1861820
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getTimeMinutesBeforeNow } from '@/utils/time'
/** Test Values */
export const ETH_DENCUN_BANNER_START = new Date(Date.UTC(2024, 2, 12, 0, 0, 0))
export const ETH_DENCUN_START_DATE = new Date(Date.UTC(2024, 2, 13, 3, 0, 0))
export const ETH_DENCUN_END_DATE = new Date(Date.UTC(2024, 2, 13, 3, 59, 0))
export const ETH_DENCUN_END_DATE = new Date(Date.UTC(2024, 2, 13, 3, 45, 0))
/** Test Values */

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const useUpgradeProgressBar = (
): {
isPending: boolean
isComplete: boolean
UpgradeProgressBar: JSX.Element
UpgradeProgressBar: any
} => {
useIntervalTimer(60000)
const currentDate = new Date()
Expand Down Expand Up @@ -36,16 +36,14 @@ export const useUpgradeProgressBar = (
return {
isPending,
isComplete,
UpgradeProgressBar: (
<>
<UpgradeProgressBar
eventLabel={eventLabel}
startTime={startTimeInSeconds}
endTime={endTimeInSeconds}
status={status}
timeRemaining={timeRemainingInMinutes}
/>
</>
UpgradeProgressBar: () => (
<UpgradeProgressBar
eventLabel={eventLabel}
startTime={startTimeInSeconds}
endTime={endTimeInSeconds}
status={status}
timeRemaining={timeRemainingInMinutes}
/>
),
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ const StateManagedBridge = () => {
transition-all duration-100 transform rounded-md
`}
>
{EthDencunUpgradeProgressBar}
<EthDencunUpgradeProgressBar />
<div
className={
isUpgradePending
Expand Down

0 comments on commit 1861820

Please sign in to comment.