diff --git a/src/components/news/NewsSection.tsx b/src/components/news/NewsSection.tsx index c0f46f1..c132bf3 100644 --- a/src/components/news/NewsSection.tsx +++ b/src/components/news/NewsSection.tsx @@ -7,7 +7,6 @@ import { newsApi } from '../../api/news'; import { useHapticFeedback } from '../../platform/hooks/useHaptic'; import { cn } from '../../lib/utils'; import type { NewsListItem } from '../../types/news'; -import GridBackground from './GridBackground'; // --- Security: hex color validation to prevent CSS injection --- const HEX_COLOR_RE = /^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/; @@ -47,24 +46,6 @@ const ArrowIcon = () => ( // --- Sub-components --- -function ScanLine() { - return ( - - ); -} - interface CategoryBadgeProps { category: string; color: string; @@ -434,11 +415,8 @@ export default function NewsSection() { } return ( -
- - - -
+
+
{/* Header */}