Skip to content

Commit

Permalink
feat: add tooltip to my stake question mark
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Dec 29, 2023
1 parent b301660 commit f1a7d0f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/creators/cards/MyStakeCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SpaceData } from '@subsocial/api/types'
import { Button, Skeleton } from 'antd'
import { Button, Skeleton, Tooltip } from 'antd'
import clsx from 'clsx'
import Link from 'next/link'
import { BsBoxArrowUpRight } from 'react-icons/bs'
Expand Down Expand Up @@ -44,7 +44,9 @@ export default function MyStakeCard({ space }: MyStakeCardProps) {
<div className={clsx(styles.MyStake, isMobile && 'flex-column')}>
<div className='FontSmall ColorMuted d-flex align-items-center GapMini'>
<span>My Stake</span>
<SlQuestion className={clsx('FontTiny', styles.HelpIcon)} />
<Tooltip title='How many tokens you have staked towards this creator'>
<SlQuestion className={clsx('FontTiny', styles.HelpIcon)} />
</Tooltip>
</div>
{loading ? (
<Skeleton round paragraph={false} className={styles.Skeleton} />
Expand Down

0 comments on commit f1a7d0f

Please sign in to comment.