diff --git a/src/pages/Earns/PositionDetail/index.tsx b/src/pages/Earns/PositionDetail/index.tsx index 05f79698f7..9e945c2bdd 100644 --- a/src/pages/Earns/PositionDetail/index.tsx +++ b/src/pages/Earns/PositionDetail/index.tsx @@ -1,12 +1,17 @@ import { t } from '@lingui/macro' import { useEffect, useMemo, useRef } from 'react' import { useParams } from 'react-router-dom' +import { Flex, Text } from 'rebass' import { useUserPositionsQuery } from 'services/zapEarn' import { ReactComponent as IconEarnNotFound } from 'assets/svg/ic_earn_not_found.svg' +import { ReactComponent as IconUserEarnPosition } from 'assets/svg/ic_user_earn_position.svg' +import { ReactComponent as RocketIcon } from 'assets/svg/rocket.svg' import LocalLoader from 'components/LocalLoader' +import { APP_PATHS } from 'constants/index' import { useActiveWeb3React } from 'hooks' +import { NavigateButton } from '../PoolExplorer/styles' import { EmptyPositionText, PositionPageWrapper } from '../UserPositions/styles' import useLiquidityWidget from '../useLiquidityWidget' import PositionDetailHeader from './Header' @@ -147,7 +152,15 @@ const PositionDetail = () => { ) : ( - {t`No position found!`} + {t`No position found!`} + + } + text={t`Explorer Pools`} + to={APP_PATHS.EARN_POOLS} + /> + } text={t`My Positions`} to={APP_PATHS.EARN_POSITIONS} /> + )}