Skip to content

Commit 871403d

Browse files
committed
lint fix, remove "No case study available" text
1 parent 47fde38 commit 871403d

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

apps/dashboard/src/lib/project-showcase-constants.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const PROJECT_SHOWCASE_DATA = [
1010
image: "/assets/showcase/gotartifact.png",
1111
industries: ["Art", "Games"],
1212
link: "https://www.gotartifact.com/",
13-
case_study: "No case study available",
1413
},
1514
{
1615
id: 2,
@@ -20,7 +19,6 @@ export const PROJECT_SHOWCASE_DATA = [
2019
image: "/assets/showcase/bankless_academy.png",
2120
industries: ["Education"],
2221
link: "https://app.banklessacademy.com/",
23-
case_study: "No case study available",
2422
},
2523
{
2624
id: 3,
@@ -42,7 +40,6 @@ export const PROJECT_SHOWCASE_DATA = [
4240
image: "/assets/showcase/bonfire.png",
4341
industries: ["Social"],
4442
link: "https://www.bonfire.xyz/",
45-
case_study: "No case study available",
4643
},
4744
{
4845
id: 5,
@@ -470,7 +467,6 @@ export const PROJECT_SHOWCASE_DATA = [
470467
image: "/placeholder.svg?height=200&width=300",
471468
industries: ["Decentralized Finance", "Games", "Tools"],
472469
link: "https://xaigames.io",
473-
case_study: "No case study available",
474470
},
475471
];
476472

apps/dashboard/src/pages/project-showcase/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,16 @@ export function ProjectShowcaseUI() {
147147
}
148148
/>
149149
</PaginationItem>
150-
{[...Array(totalPages)].map((_, i) => (
151-
<PaginationItem key={i}>
150+
{[...Array(totalPages)].map((_, index) => (
151+
<PaginationItem key={`page-${index + 1}`}>
152152
<PaginationLink
153153
onClick={(e) => {
154154
e.preventDefault();
155-
setCurrentPage(i + 1);
155+
setCurrentPage(index + 1);
156156
}}
157-
isActive={currentPage === i + 1}
157+
isActive={currentPage === index + 1}
158158
>
159-
{i + 1}
159+
{index + 1}
160160
</PaginationLink>
161161
</PaginationItem>
162162
))}

0 commit comments

Comments
 (0)