From 1861820171b399c67e40c9083533e285d23b2b67 Mon Sep 17 00:00:00 2001 From: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:08:34 -0700 Subject: [PATCH] . --- .../Maintenance/EthDencunUpgrade.tsx | 2 +- .../Maintenance/UpgradeProgressBar.tsx | 20 +++++++++---------- .../pages/state-managed-bridge/index.tsx | 2 +- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/packages/synapse-interface/components/Maintenance/EthDencunUpgrade.tsx b/packages/synapse-interface/components/Maintenance/EthDencunUpgrade.tsx index d2f9cc32dd..983f69f4db 100644 --- a/packages/synapse-interface/components/Maintenance/EthDencunUpgrade.tsx +++ b/packages/synapse-interface/components/Maintenance/EthDencunUpgrade.tsx @@ -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 */ /** diff --git a/packages/synapse-interface/components/Maintenance/UpgradeProgressBar.tsx b/packages/synapse-interface/components/Maintenance/UpgradeProgressBar.tsx index fc50d562cc..dc27abe589 100644 --- a/packages/synapse-interface/components/Maintenance/UpgradeProgressBar.tsx +++ b/packages/synapse-interface/components/Maintenance/UpgradeProgressBar.tsx @@ -8,7 +8,7 @@ export const useUpgradeProgressBar = ( ): { isPending: boolean isComplete: boolean - UpgradeProgressBar: JSX.Element + UpgradeProgressBar: any } => { useIntervalTimer(60000) const currentDate = new Date() @@ -36,16 +36,14 @@ export const useUpgradeProgressBar = ( return { isPending, isComplete, - UpgradeProgressBar: ( - <> - - + UpgradeProgressBar: () => ( + ), } } diff --git a/packages/synapse-interface/pages/state-managed-bridge/index.tsx b/packages/synapse-interface/pages/state-managed-bridge/index.tsx index f188bda35b..083e82b8f7 100644 --- a/packages/synapse-interface/pages/state-managed-bridge/index.tsx +++ b/packages/synapse-interface/pages/state-managed-bridge/index.tsx @@ -569,7 +569,7 @@ const StateManagedBridge = () => { transition-all duration-100 transform rounded-md `} > - {EthDencunUpgradeProgressBar} +