chore: update wallet link in wallet UI (#1918)

This commit is contained in:
Matthew Russell 2022-11-01 17:37:18 -05:00 committed by GitHub
parent cd5f769c02
commit d87ab9cad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 8 deletions

View File

@ -1,10 +1,7 @@
import { t } from '@vegaprotocol/react-helpers';
import { Link } from '@vegaprotocol/ui-toolkit';
import type { ReactNode } from 'react';
import {
VEGA_WALLET_CONCEPTS_URL,
VEGA_WALLET_RELEASE_URL,
} from '../constants';
import { VEGA_WALLET_CONCEPTS_URL, VEGA_WALLET_URL } from '../constants';
export const ConnectDialogTitle = ({ children }: { children: ReactNode }) => {
return (
@ -28,7 +25,7 @@ export const ConnectDialogFooter = ({ children }: { children?: ReactNode }) => {
children
) : (
<>
<Link href={VEGA_WALLET_RELEASE_URL}>{t('Get a Vega Wallet')}</Link>
<Link href={VEGA_WALLET_URL}>{t('Get a Vega Wallet')}</Link>
{' | '}
<Link href={VEGA_WALLET_CONCEPTS_URL}>{t('Having trouble?')}</Link>
</>

View File

@ -272,7 +272,7 @@ const SelectedForm = ({
{t('hosted wallet')}
</Link>
{t(', or for the real experience create a wallet in the ')}
<Link href={constants.VEGA_WALLET_RELEASE_URL}>
<Link href={constants.VEGA_WALLET_URL}>
{t('Vega wallet app')}
</Link>
</p>

View File

@ -1,5 +1,4 @@
export const VEGA_WALLET_RELEASE_URL =
'https://github.com/vegaprotocol/vega/releases';
export const VEGA_WALLET_URL = 'https://vega.xyz/wallet';
export const VEGA_WALLET_CONCEPTS_URL =
'https://docs.vega.xyz/docs/mainnet/concepts/vega-wallet';
export const VEGA_WALLET_HOSTED_URL = 'https://vega-hosted-wallet.on.fleek.co/';