diff --git a/centrifuge-app/src/components/PoolCard/index.tsx b/centrifuge-app/src/components/PoolCard/index.tsx index c7735bd30c..1ca03daa80 100644 --- a/centrifuge-app/src/components/PoolCard/index.tsx +++ b/centrifuge-app/src/components/PoolCard/index.tsx @@ -40,15 +40,13 @@ export function PoolCard({ const basePath = useRouteMatch(['/pools', '/issuer'])?.path || '/pools' const { sizes, zIndices } = useTheme() - const iconSrc = iconUri?.includes('ipfs') ? `https://ipfs.io/ipfs/${iconUri.split('ipfs/')[1]}` : iconUri - return ( - + {iconUri ? ( - + ) : ( )}