@@ -2,7 +2,7 @@ import { FC } from 'react'
22import { Link as RouterLink , useSearchParams } from 'react-router-dom'
33import { useTranslation } from 'react-i18next'
44import { PaginationNext , PaginationPrevious } from '@oasisprotocol/ui-library/src/components/pagination'
5- import Tooltip from '@mui/material/Tooltip '
5+ import { Tooltip } from '@oasisprotocol/ui-library/src/components/tooltip '
66import { ConsensusScope , RuntimeScope , SearchScope } from '../../../types/searchScope'
77import { useConsensusFreshness , useRuntimeFreshness } from '../OfflineBanner/hook'
88import { RouteUtils } from '../../utils/route-utils'
@@ -13,7 +13,7 @@ const PrevBlockButton: FC<{ scope: SearchScope; currentRound: number }> = ({ sco
1313 const [ searchParams ] = useSearchParams ( )
1414 const disabled = currentRound === 0
1515 return (
16- < Tooltip title = { disabled ? t ( 'blocks.viewingFirst' ) : t ( 'blocks.viewPrevious' ) } placement = "top" >
16+ < Tooltip title = { disabled ? t ( 'blocks.viewingFirst' ) : t ( 'blocks.viewPrevious' ) } >
1717 < div className = "ml-4" >
1818 < PaginationPrevious
1919 linkComponent = { RouterLink }
@@ -36,7 +36,7 @@ const NextBlockButton: FC<{ disabled: boolean; scope: SearchScope; currentRound:
3636 const { t } = useTranslation ( )
3737 const [ searchParams ] = useSearchParams ( )
3838 return (
39- < Tooltip title = { disabled ? t ( 'blocks.viewingLatest' ) : t ( 'blocks.viewNext' ) } placement = "top" >
39+ < Tooltip title = { disabled ? t ( 'blocks.viewingLatest' ) : t ( 'blocks.viewNext' ) } >
4040 < div >
4141 < PaginationNext
4242 linkComponent = { RouterLink }
0 commit comments