import { Loader, TradingAnchorButton, VegaIcon, VegaIconNames, } from '@vegaprotocol/ui-toolkit'; import { LandingBanner } from './landing-banner'; import { TiersContainer } from './tiers'; import { TabLink } from './buttons'; import { Outlet, useMatch } from 'react-router-dom'; import { Routes } from '../../lib/links'; import { useVegaWallet } from '@vegaprotocol/wallet'; import { useReferral } from './hooks/use-referral'; import { REFERRAL_DOCS_LINK } from './constants'; import classNames from 'classnames'; import { usePageTitleStore } from '../../stores'; import { useEffect } from 'react'; import { titlefy } from '@vegaprotocol/utils'; import { useT } from '../../lib/use-t'; import { ErrorBoundary } from '../../components/error-boundary'; const Nav = () => { const t = useT(); const match = useMatch(Routes.REFERRALS_APPLY_CODE); return (
{t('Something went wrong')}
{error.message}