/* eslint-disable eslint-comments/disable-enable-pair */ /* eslint-disable jsx-a11y/img-redundant-alt */ import { truncateAddress } from 'utils/wallet' export interface ClickableCollection { contractAddress: string name: string media: string onClick: () => void } export default function CollectionsTable({ collections }: { collections: ClickableCollection[] }) { return ( {collections.map((collection) => ( ))}
Name Address
Collection Image
{collection.name}
{collection.contractAddress.startsWith('stars') ? truncateAddress(collection.contractAddress) : collection.contractAddress}
) }