diff --git a/pages/staking.tsx b/pages/staking.tsx index 2aac9f8e5..db169de24 100644 --- a/pages/staking.tsx +++ b/pages/staking.tsx @@ -1,6 +1,6 @@ import React from 'react'; import type { NextPage } from 'next'; -import { Box, Button, Typography } from '@mui/material'; +import { Box, Button, Typography, useTheme } from '@mui/material'; import Image from 'next/image'; import { t } from 'i18next'; import { useModal } from 'contexts/ModalContext'; @@ -9,16 +9,22 @@ import StakingOperations from 'components/staking/StakingOperations'; import StakeChart from 'components/charts/StakeChart'; import Progress from 'components/staking/Progress'; import { StakeEXAProvider } from 'contexts/StakeEXAContext'; +import OpenInNewIcon from '@mui/icons-material/OpenInNew'; +import useEtherscanLink from 'hooks/useEtherscanLink'; +import { useStakedEXA } from 'hooks/useStakedEXA'; const Staking: NextPage = () => { const { open: openGetEXA } = useModal('get-exa'); + const { palette } = useTheme(); + const { address } = useEtherscanLink(); + const stakedEXA = useStakedEXA(); return ( - + {'EXA'} { {t('EXA Staking')} + {stakedEXA && ( + + )}