Skip to content

Commit

Permalink
feat: set "find nodes" in banner available
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Dec 23, 2024
1 parent 924b48a commit 2469b58
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/pages/Home/Banner/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useQuery } from '@tanstack/react-query'
import { BarChartIcon } from '@radix-ui/react-icons'
import { useTranslation } from 'react-i18next'
import { Tooltip } from 'antd'
import { Link } from '../../../components/Link'
import config from '../../../config'
import styles from './index.module.scss'
Expand Down Expand Up @@ -56,17 +55,9 @@ export default () => {
<Link to="https://www.ckbfiber.net/" target="_blank" rel="noopener noreferrer">
<span>{t(`banner.learn_more`)}</span>
</Link>
<Tooltip title={t('banner.coming_soon')}>
<Link
to="/"
aria-disabled
onClick={(e: React.SyntheticEvent<HTMLAnchorElement>) => {
e.preventDefault()
}}
>
<span>{t('banner.find_nodes')}</span>
</Link>
</Tooltip>
<Link to="/fiber/graph/nodes">
<span>{t('banner.find_nodes')}</span>
</Link>
</div>
</div>
)
Expand Down

0 comments on commit 2469b58

Please sign in to comment.