Skip to content

Commit

Permalink
remove console.log and fix error on log
Browse files Browse the repository at this point in the history
  • Loading branch information
melanke committed Dec 10, 2024
1 parent 6530fbc commit 75eb1f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/nextjs/components/batch/BuildersGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@ const BuildersGrid = () => {
const buildersWithoutProfile = (events ?? [])
.map(event => event.args.builder)
.filter(address => address && !profileBuilders.includes(address));
console.log(buildersWithoutProfile);

return (
<div className="w-full px-6 py-8">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
{profileBuilders.map((address, idx) => (
<Link
<div
key={`${address}-${idx}`}
href={`/builders/${address}`}
className="bg-base-100 rounded-xl p-6 shadow-lg hover:shadow-xl transition-all duration-200 border border-base-200"
>
<div className="flex flex-col gap-2">
<Address address={address} size="lg" />
<div className="flex justify-between items-center">
<span className="text-sm font-semibold hover:underline">View Profile →</span>
<Link href={`/builders/${address}`} className="text-sm font-semibold hover:underline">
View Profile →
</Link>
</div>
</div>
</Link>
</div>
))}
{buildersWithoutProfile.map((address, idx) => (
<div
Expand Down

0 comments on commit 75eb1f9

Please sign in to comment.