Skip to content

Commit

Permalink
add GHO and WETH logos
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm committed Aug 8, 2023
1 parent 3250301 commit 6c88a27
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/hooks/useAssetLogoSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function getInitialUrl(address?: string | null, chainId?: number | null, isNativ
const networkName = chainId ? chainIdToNetworkName(chainId) : 'ethereum'
const checksummedAddress = isAddress(address)
if (checksummedAddress) {
return `https://raw.githubusercontent.com/Uniswap/assets/master/blockchains/${networkName}/assets/${checksummedAddress}/logo.png`
return `https://raw.githubusercontent.com/scroll-tech/uniswap-v3-interface/scroll-sepolia-showcase/blockchains/${networkName}/assets/${checksummedAddress}/logo.png`
} else {
return undefined
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/hooks/useCurrencyLogoURIs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function getTokenLogoURI(address: string, chainId: SupportedChainId = SupportedC
const networkName = chainIdToNetworkName(chainId)
const networksWithUrls = [SupportedChainId.MAINNET]
if (networksWithUrls.includes(chainId)) {
return `https://raw.githubusercontent.com/Uniswap/assets/master/blockchains/${networkName}/assets/${address}/logo.png`
return `https://raw.githubusercontent.com/scroll-tech/uniswap-v3-interface/scroll-sepolia-showcase/blockchains/${networkName}/assets/${address}/logo.png`
}

// Celo logo logo is hosted elsewhere.
Expand Down

0 comments on commit 6c88a27

Please sign in to comment.