Skip to content

Commit 0424831

Browse files
fix(ui): remove unused index parameter in friends map
1 parent 0bbfdfc commit 0424831

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/src/routes/_view/oss-friends.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function FriendsSection({
145145
return (
146146
<section>
147147
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-px bg-neutral-200">
148-
{friends.map((friend, index) => (
148+
{friends.map((friend) => (
149149
<a
150150
key={friend.slug}
151151
href={friend.href}
@@ -154,7 +154,7 @@ function FriendsSection({
154154
className={cn([
155155
"group flex flex-col bg-white overflow-hidden h-full",
156156
"hover:bg-stone-50 transition-all",
157-
index >= friends.length - 3 && "border-b border-neutral-200",
157+
"border-b border-neutral-200",
158158
])}
159159
>
160160
<div className="aspect-40/21 bg-neutral-100 overflow-hidden shrink-0">

0 commit comments

Comments
 (0)