@@ -4,7 +4,6 @@ import { useNavigate, useSearchParams } from 'react-router-dom'
44import { useMedia } from 'react-use'
55import { Flex , Text } from 'rebass'
66import { usePoolsExplorerQuery } from 'services/zapEarn'
7- import styled from 'styled-components'
87
98import { ReactComponent as IconUserEarnPosition } from 'assets/svg/earn/ic_user_earn_position.svg'
109import { NotificationType } from 'components/Announcement/type'
@@ -42,21 +41,6 @@ export enum SortBy {
4241const POLLING_INTERVAL = 5 * 60_000
4342const DEBOUNCE_DELAY = 300
4443
45- export const BaseWarningWrapper = styled . div `
46- border-radius: 40px;
47- padding: 6px 12px;
48- background-color: ${ ( { theme } ) => theme . background } ;
49- width: fit-content;
50- margin: 0 auto;
51- `
52-
53- export const isWithinBaseMaintenanceWindow = ( ) => {
54- const nowMs = Date . now ( )
55- const MAINTENANCE_END_UTC_MS = new Date ( '2025-11-20T04:00:00Z' ) . getTime ( ) // 4:00 AM UTC, 20 Nov 2025
56- const MAINTENANCE_START_UTC_MS = MAINTENANCE_END_UTC_MS - 5 * 60 * 60 * 1000 // 5 hours before
57- return nowMs >= MAINTENANCE_START_UTC_MS && nowMs <= MAINTENANCE_END_UTC_MS
58- }
59-
6044const PoolExplorer = ( ) => {
6145 const [ search , setSearch ] = useState ( '' )
6246 const deboundedSearch = useDebounce ( search , DEBOUNCE_DELAY )
@@ -196,14 +180,6 @@ const PoolExplorer = () => {
196180 </ div >
197181
198182 < Filter filters = { filters } updateFilters = { updateFilters } search = { search } setSearch = { setSearch } />
199- { isWithinBaseMaintenanceWindow ( ) && (
200- < BaseWarningWrapper >
201- < Text color = { theme . subText } fontSize = { 12 } fontWeight = { 500 } fontStyle = { 'italic' } >
202- Kyber Earn data on < b > Base</ b > is being updated. This may take a moment and will be available again at 4:00
203- AM UTC on 20 Nov 2025 — thank you for your patience.
204- </ Text >
205- </ BaseWarningWrapper >
206- ) }
207183
208184 { upToLarge && (
209185 < NavigateButton
0 commit comments