diff --git a/src/components/highlights/HighlightsSection.tsx b/src/components/highlights/HighlightsSection.tsx index 2b29ac5..74e82f1 100644 --- a/src/components/highlights/HighlightsSection.tsx +++ b/src/components/highlights/HighlightsSection.tsx @@ -2,7 +2,6 @@ import type { NostrEvent } from '@nostrify/nostrify'; import { useHighlights } from '@/hooks/useHighlights'; import { Highlight } from './Highlight'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; -import { Skeleton } from '@/components/ui/skeleton'; import { Highlighter } from 'lucide-react'; interface HighlightsSectionProps { @@ -20,34 +19,7 @@ export function HighlightsSection({ const { data: highlights, isLoading } = useHighlights(event); if (isLoading) { - return ( - - - - - {title} - - - - {[1, 2].map((i) => ( - - -
-
- -
- - -
-
- -
-
-
- ))} -
-
- ); + return null; // Don't show loading state - just hide the section } if (!highlights || highlights.length === 0) {