diff --git a/src/components/WalletPopup/RewardCenter.tsx b/src/components/WalletPopup/RewardCenter.tsx index 57b6720afe..bf52036246 100644 --- a/src/components/WalletPopup/RewardCenter.tsx +++ b/src/components/WalletPopup/RewardCenter.tsx @@ -5,7 +5,7 @@ import styled from 'styled-components' import { ReactComponent as DollarIcon } from 'assets/svg/dollar.svg' import { ButtonPrimary } from 'components/Button' -import Dots from 'components/Dots' +import { MouseoverTooltip, TextDashed } from 'components/Tooltip' import useMixpanel, { MIXPANEL_TYPE } from 'hooks/useMixpanel' import { useRewards } from 'hooks/useRewards' import useTheme from 'hooks/useTheme' @@ -19,7 +19,7 @@ const ContentWrapper = styled.div` position: relative; width: 100%; ` -const BalanceTitle = styled.span` +const BalanceTitle = styled(TextDashed)` font-size: 12px; font-weight: 500; line-height: 16px; @@ -112,9 +112,13 @@ export default function RewardCenter() { }} > - - Total Available Rewards - + + + Total Available Rewards + + {formatNumberWithPrecisionRange(totalReward.knc, 0, 8)} KNC