From 91e2898ad4e00e0b3f5d8909369669c23c6365ad Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Thu, 17 Apr 2025 10:28:36 +0200 Subject: [PATCH] remove dead code --- web/src/app/icons/[icon]/page.tsx | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/web/src/app/icons/[icon]/page.tsx b/web/src/app/icons/[icon]/page.tsx index 3b5c852b..3fc3c269 100644 --- a/web/src/app/icons/[icon]/page.tsx +++ b/web/src/app/icons/[icon]/page.tsx @@ -102,14 +102,6 @@ export default async function IconPage({ params }: { params: Promise<{ icon: str notFound() } - // Fetch total icons - const { totalIcons } = await getTotalIcons() - // Format icon name - const formattedIconName = icon - .split("-") - .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) - .join(" ") - const authorData = await getAuthorData(originalIconData.update.author.id) return ( @@ -149,16 +141,6 @@ export default async function IconPage({ params }: { params: Promise<{ icon: str }} /> - - {/* Title and Description Section */} -
-

{formattedIconName} Icon

-

- Part of a collection of {totalIcons} curated icons for services, applications and tools, designed specifically for dashboards and - app directories. -

-
- {/* Existing Icon Details */}