From 886469678368fb080f185cdc428942e2e05887f1 Mon Sep 17 00:00:00 2001 From: "m.ray" <16125548+MadalinaRaicu@users.noreply.github.com> Date: Fri, 13 Jan 2023 09:10:31 -0500 Subject: [PATCH] chore: merge release/testnet back in develop (#2613) * chore: add mirror config for trading * chore: fix url for mainnet mirror in network config * fix: remove link if no market id Co-authored-by: Matthew Russell --- apps/trading/.env.mirror | 10 ++++++++++ .../liquidity-supplied/liquidity-supplied.tsx | 11 ++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 apps/trading/.env.mirror diff --git a/apps/trading/.env.mirror b/apps/trading/.env.mirror new file mode 100644 index 000000000..263d9ffcb --- /dev/null +++ b/apps/trading/.env.mirror @@ -0,0 +1,10 @@ +NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 +NX_ETHERSCAN_URL=https://sepolia.etherscan.io +NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz +NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/mirror-network.json +NX_VEGA_ENV=MIRROR +NX_VEGA_EXPLORER_URL=https://mainnet-mirror.explorer.vega.xyz +NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\",\"STAGNET3\":\"https://stagnet3.console.vega.xyz\"} +NX_VEGA_TOKEN_URL=https://mainnet-mirror.token.fairground.wtf +NX_VEGA_WALLET_URL=http://localhost:1789 +NX_VEGA_DOCS_URL=https://docs.vega.xyz/mainnet \ No newline at end of file diff --git a/apps/trading/components/liquidity-supplied/liquidity-supplied.tsx b/apps/trading/components/liquidity-supplied/liquidity-supplied.tsx index 54188aca5..87512a69f 100644 --- a/apps/trading/components/liquidity-supplied/liquidity-supplied.tsx +++ b/apps/trading/components/liquidity-supplied/liquidity-supplied.tsx @@ -118,9 +118,14 @@ export const MarketLiquiditySupplied = ({
{compiledGrid && }
- - {t('View liquidity provision table')} - + {marketId && ( + + {t('View liquidity provision table')} + + )} {showMessage && (

{t(