Address build issues

This commit is contained in:
Serkan Reis 2023-12-31 15:33:38 +03:00
parent b1ce309cb2
commit d88596559a

View File

@ -1,4 +1,5 @@
/* eslint-disable eslint-comments/disable-enable-pair */
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
/* eslint-disable jsx-a11y/img-redundant-alt */
import { truncateAddress } from 'utils/wallet'
@ -24,7 +25,8 @@ export default function CollectionsTable({ collections }: { collections: Clickab
</tr>
</thead>
<tbody className=" bg-black">
{collections.map((collection) => (
{collections
? collections.map((collection) => (
<tr
key={collection.contractAddress}
className="hover:bg-zinc-900 cursor-pointer"
@ -47,7 +49,8 @@ export default function CollectionsTable({ collections }: { collections: Clickab
</div>
</td>
</tr>
))}
))
: null}
</tbody>
</table>
)