refactor: remove unused imports and add icon null check

- Removed unused ShieldCheckIcon import from NodeProducts
- Removed unused Small component import from NodeSpecs
- Added conditional rendering for Icon in PodsWhat to prevent errors when icon is undefined
This commit is contained in:
2025-11-14 22:59:24 +01:00
parent 56ceac1319
commit 3121251272
3 changed files with 1 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ export function PodsWhat() {
<>
{/* TITLE WITH ICON (matching the TL example) */}
<dt className="flex items-center gap-x-3 text-base font-semibold text-white">
<Icon className="h-6 w-6 text-cyan-500" aria-hidden="true" />
{Icon && <Icon className="h-6 w-6 text-cyan-500" aria-hidden="true" />}
{card.title}
</dt>