Add trailing slash to L2 info links (#2696)

Some links were broken. For example on /pools/ page click the 'Top Pools' CTA. It would mistakenly direct you to info.uniswap.org/optimismpools instead of optimism/pools
This commit is contained in:
Will Hennessy 2021-11-22 09:32:34 -05:00 committed by GitHub
parent cb0ea3f14d
commit 7c9d9bdb03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -79,7 +79,7 @@ export const CHAIN_INFO: ChainInfo = {
bridge: 'https://bridge.arbitrum.io/', bridge: 'https://bridge.arbitrum.io/',
docs: 'https://offchainlabs.com/', docs: 'https://offchainlabs.com/',
explorer: 'https://arbiscan.io/', explorer: 'https://arbiscan.io/',
infoLink: 'https://info.uniswap.org/#/arbitrum', infoLink: 'https://info.uniswap.org/#/arbitrum/',
label: 'Arbitrum', label: 'Arbitrum',
logoUrl: arbitrumLogoUrl, logoUrl: arbitrumLogoUrl,
nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 }, nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 },
@ -137,7 +137,7 @@ export const CHAIN_INFO: ChainInfo = {
bridge: 'https://gateway.optimism.io/', bridge: 'https://gateway.optimism.io/',
docs: 'https://optimism.io/', docs: 'https://optimism.io/',
explorer: 'https://optimistic.etherscan.io/', explorer: 'https://optimistic.etherscan.io/',
infoLink: 'https://info.uniswap.org/#/optimism', infoLink: 'https://info.uniswap.org/#/optimism/',
label: 'OΞ', label: 'OΞ',
logoUrl: optimismLogoUrl, logoUrl: optimismLogoUrl,
nativeCurrency: { name: 'Optimistic ETH', symbol: 'ETH', decimals: 18 }, nativeCurrency: { name: 'Optimistic ETH', symbol: 'ETH', decimals: 18 },
@ -148,7 +148,7 @@ export const CHAIN_INFO: ChainInfo = {
bridge: 'https://gateway.optimism.io/', bridge: 'https://gateway.optimism.io/',
docs: 'https://optimism.io/', docs: 'https://optimism.io/',
explorer: 'https://optimistic.etherscan.io/', explorer: 'https://optimistic.etherscan.io/',
infoLink: 'https://info.uniswap.org/#/optimism', infoLink: 'https://info.uniswap.org/#/optimism/',
label: 'Optimistic Kovan', label: 'Optimistic Kovan',
rpcUrls: ['https://kovan.optimism.io'], rpcUrls: ['https://kovan.optimism.io'],
logoUrl: optimismLogoUrl, logoUrl: optimismLogoUrl,