chore: update wallet link in wallet UI (#1918)
This commit is contained in:
parent
cd5f769c02
commit
d87ab9cad7
@ -1,10 +1,7 @@
|
|||||||
import { t } from '@vegaprotocol/react-helpers';
|
import { t } from '@vegaprotocol/react-helpers';
|
||||||
import { Link } from '@vegaprotocol/ui-toolkit';
|
import { Link } from '@vegaprotocol/ui-toolkit';
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
import {
|
import { VEGA_WALLET_CONCEPTS_URL, VEGA_WALLET_URL } from '../constants';
|
||||||
VEGA_WALLET_CONCEPTS_URL,
|
|
||||||
VEGA_WALLET_RELEASE_URL,
|
|
||||||
} from '../constants';
|
|
||||||
|
|
||||||
export const ConnectDialogTitle = ({ children }: { children: ReactNode }) => {
|
export const ConnectDialogTitle = ({ children }: { children: ReactNode }) => {
|
||||||
return (
|
return (
|
||||||
@ -28,7 +25,7 @@ export const ConnectDialogFooter = ({ children }: { children?: ReactNode }) => {
|
|||||||
children
|
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>
|
<Link href={VEGA_WALLET_CONCEPTS_URL}>{t('Having trouble?')}</Link>
|
||||||
</>
|
</>
|
||||||
|
@ -272,7 +272,7 @@ const SelectedForm = ({
|
|||||||
{t('hosted wallet')}
|
{t('hosted wallet')}
|
||||||
</Link>
|
</Link>
|
||||||
{t(', or for the real experience create a wallet in the ')}
|
{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')}
|
{t('Vega wallet app')}
|
||||||
</Link>
|
</Link>
|
||||||
</p>
|
</p>
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
export const VEGA_WALLET_RELEASE_URL =
|
export const VEGA_WALLET_URL = 'https://vega.xyz/wallet';
|
||||||
'https://github.com/vegaprotocol/vega/releases';
|
|
||||||
export const VEGA_WALLET_CONCEPTS_URL =
|
export const VEGA_WALLET_CONCEPTS_URL =
|
||||||
'https://docs.vega.xyz/docs/mainnet/concepts/vega-wallet';
|
'https://docs.vega.xyz/docs/mainnet/concepts/vega-wallet';
|
||||||
export const VEGA_WALLET_HOSTED_URL = 'https://vega-hosted-wallet.on.fleek.co/';
|
export const VEGA_WALLET_HOSTED_URL = 'https://vega-hosted-wallet.on.fleek.co/';
|
||||||
|
Loading…
Reference in New Issue
Block a user