From 3bde6ec66e4026cc0327ae3cb4e9d0a7e6771ca0 Mon Sep 17 00:00:00 2001 From: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com> Date: Fri, 12 Apr 2024 11:35:44 -0700 Subject: [PATCH] Remove custom margins to allow Bridge parent gap styling to handle spacing --- .../components/Maintenance/Maintenance.tsx | 4 ++-- .../components/EventCountdownProgressBar.tsx | 2 +- .../synapse-interface/components/Warning.tsx | 2 +- .../synapse-interface/public/chainPauses.json | 17 ----------------- .../synapse-interface/public/pausedChains.json | 17 +++++++++++++++++ 5 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 packages/synapse-interface/public/chainPauses.json create mode 100644 packages/synapse-interface/public/pausedChains.json diff --git a/packages/synapse-interface/components/Maintenance/Maintenance.tsx b/packages/synapse-interface/components/Maintenance/Maintenance.tsx index b3bed32955..fe61041c5f 100644 --- a/packages/synapse-interface/components/Maintenance/Maintenance.tsx +++ b/packages/synapse-interface/components/Maintenance/Maintenance.tsx @@ -4,7 +4,7 @@ import { MaintenanceWarningMessage } from './components/MaintenanceWarningMessag import { useMaintenanceCountdownProgress } from './components/useMaintenanceCountdownProgress' /** Import chain pause public constant */ -import chainPausesData from '@/public/chainPauses.json' +import pausedChains from '@/public/pausedChains.json' interface ChainPause { id: string @@ -22,7 +22,7 @@ interface ChainPause { disableCountdown?: boolean } -const PAUSED_CHAINS: ChainPause[] = chainPausesData.map((pause) => ({ +const PAUSED_CHAINS: ChainPause[] = pausedChains.map((pause) => ({ ...pause, startTime: new Date(pause.startTime), endTime: pause.endTime ? new Date(pause.endTime) : null, diff --git a/packages/synapse-interface/components/Maintenance/components/EventCountdownProgressBar.tsx b/packages/synapse-interface/components/Maintenance/components/EventCountdownProgressBar.tsx index d462a7766e..d5ca181026 100644 --- a/packages/synapse-interface/components/Maintenance/components/EventCountdownProgressBar.tsx +++ b/packages/synapse-interface/components/Maintenance/components/EventCountdownProgressBar.tsx @@ -74,7 +74,7 @@ export const EventCountdownProgressBar = ({ return (