diff --git a/web/src/app/icons/components/icon-search.tsx b/web/src/app/icons/components/icon-search.tsx index 07b79be6..3065a2e0 100644 --- a/web/src/app/icons/components/icon-search.tsx +++ b/web/src/app/icons/components/icon-search.tsx @@ -257,23 +257,6 @@ export function IconSearch({ icons }: IconSearchProps) { } }, []) - // Helper function to get the appropriate icon variant based on theme - const getIconVariant = (name: string, data: Icon) => { - // Check if the icon has theme variants and use appropriate one - if (data.colors) { - // If in dark mode and a light variant exists, use the light variant - if (resolvedTheme === "dark" && data.colors.light) { - return data.colors.light - } - // If in light mode and a dark variant exists, use the dark variant - if (resolvedTheme === "light" && data.colors.dark) { - return data.colors.dark - } - } - // Fall back to the default name if no appropriate variant - return name - } - if (!searchParams) return null const getSortLabel = (sort: SortOption) => { @@ -507,7 +490,7 @@ export function IconSearch({ icons }: IconSearchProps) {