Skip to content

Commit

Permalink
Goerli soulnames fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Apr 17, 2023
1 parent b36059c commit a396c42
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/masa-interface/pages/gallery/galleryItem.tsx
Expand Up @@ -3,9 +3,15 @@ export interface GalleryItemProps {
image: string;
}
export const GalleryItem = ({ image, title, description }) => {
let fixImage = image;
console.log({image})
if (image && image?.includes('ar://')) {
fixImage = image.replace('ar://', 'https://arweave.net/');
}

return (
<div className="gallery-item">
<img src={image} />
<img src={fixImage} />

{(title || description) && (
<div className="gallery-item-info">
Expand Down

0 comments on commit a396c42

Please sign in to comment.