Skip to content

Commit

Permalink
feat(synapse-interface): remove blast swap pause banner (#2381)
Browse files Browse the repository at this point in the history
* Remove banner

* Clean imports
  • Loading branch information
bigboydiamonds authored Mar 27, 2024
1 parent b047dcf commit c49c60d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/synapse-interface/pages/swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import toast from 'react-hot-toast'
import { animated } from 'react-spring'
import { useRouter } from 'next/router'
import { segmentAnalyticsEvent } from '@/contexts/SegmentAnalyticsProvider'

import { setIsLoading } from '@/slices/swap/reducer'

import { useSynapseContext } from '@/utils/providers/SynapseProvider'
import { getErc20TokenAllowance } from '@/actions/getErc20TokenAllowance'
import { commify } from '@ethersproject/units'
Expand Down Expand Up @@ -47,7 +45,6 @@ import { SwapToTokenListOverlay } from '@/components/StateManagedSwap/SwapToToke
import { LandingPageWrapper } from '@/components/layouts/LandingPageWrapper'
import useSyncQueryParamsWithSwapState from '@/utils/hooks/useSyncQueryParamsWithSwapState'
import { isTransactionReceiptError } from '@/utils/isTransactionReceiptError'
import { AnnouncementBanner } from '@/components/Maintenance/AnnouncementBanner'

const StateManagedSwap = () => {
const { address } = useAccount()
Expand Down Expand Up @@ -360,12 +357,6 @@ const StateManagedSwap = () => {

return (
<LandingPageWrapper>
<AnnouncementBanner
bannerId="2024-03-26-blast-swap-pause"
bannerContents="Swapping on Blast paused."
startDate={new Date(Date.UTC(2024, 2, 20, 20, 20, 0))}
endDate={new Date(Date.UTC(2026, 2, 20, 22, 0, 0))}
/>
<div className="flex justify-center px-4 py-16 mx-auto lg:mx-0">
<div className="flex flex-col">
<div className="flex items-center justify-between">
Expand Down

0 comments on commit c49c60d

Please sign in to comment.