Skip to content

Commit

Permalink
fix: Anemoy logo
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Angelle committed Apr 3, 2024
1 parent 419187b commit ec9806a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions centrifuge-app/src/pages/Pool/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export const PoolDetailHeader: React.FC<Props> = ({ actions }) => {

const iconUri = metadata?.pool?.icon?.uri && cent.metadata.parseMetadataUrl(metadata?.pool?.icon?.uri)

const iconSrc = iconUri?.includes('ipfs') ? `https://ipfs.io/ipfs/${iconUri.split('ipfs/')[1]}` : iconUri

return (
<PageHeader
title={<TextWithPlaceholder isLoading={isLoading}>{metadata?.pool?.name ?? 'Unnamed pool'}</TextWithPlaceholder>}
Expand All @@ -37,7 +35,7 @@ export const PoolDetailHeader: React.FC<Props> = ({ actions }) => {
icon={
<Eththumbnail show={isTinlakePool}>
{metadata?.pool?.icon ? (
<Box as="img" width="iconLarge" height="iconLarge" src={iconSrc} />
<Box as="img" width="iconLarge" height="iconLarge" src={iconUri} />
) : (
<Shelf
width="iconLarge"
Expand Down

0 comments on commit ec9806a

Please sign in to comment.