From 86edee27784a57ecc2e95ef02e36529c650f6b55 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Thu, 17 Apr 2025 18:03:26 +0200 Subject: [PATCH] Format codebase --- web/src/app/icons/layout.tsx | 2 +- web/src/components/icon-details.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/src/app/icons/layout.tsx b/web/src/app/icons/layout.tsx index 7ba6d056..4be6a750 100644 --- a/web/src/app/icons/layout.tsx +++ b/web/src/app/icons/layout.tsx @@ -1,5 +1,5 @@ import { cn } from "@/lib/utils" -import React from "react" +import type React from "react" interface BackgroundWrapperProps { children: React.ReactNode diff --git a/web/src/components/icon-details.tsx b/web/src/components/icon-details.tsx index 0b48743f..15fa8c9e 100644 --- a/web/src/components/icon-details.tsx +++ b/web/src/components/icon-details.tsx @@ -309,7 +309,10 @@ export function IconDetails({ icon, iconData, authorData }: IconDetailsProps) {
{iconData.categories.map((category) => ( - + {category .split("-") .map((word) => word.charAt(0).toUpperCase() + word.slice(1))