Skip to content

An AI-powered search engine with a generative UI

fix: remove plus icon overlay from image grid

Yoshiki Miura5d44ec4f305e
diff --git a/components/search-results-image.tsx b/components/search-results-image.tsx
index f726894d..eac85710 100644
--- a/components/search-results-image.tsx
+++ b/components/search-results-image.tsx
@@ -11,8 +11,6 @@ import {
useState
} from 'react'
-import { PlusCircle } from 'lucide-react'
-
import { SearchResultImage } from '@/lib/types'
import {
@@ -295,9 +293,6 @@ export const SearchResultsImageSection: React.FC<
)
}
- const showPreviewOverlay =
- displayMode === 'preview' && actualIndex === 3 && filteredCount > 4
-
return (
<Dialog key={image.id}>
<DialogTrigger asChild>
@@ -315,11 +310,6 @@ export const SearchResultsImageSection: React.FC<
/>
</div>
</div>
- {!isLoading && showPreviewOverlay && (
- <div className="absolute inset-0 bg-black/30 rounded-md flex items-center justify-center text-white/80 text-sm">
- <PlusCircle size={24} />
- </div>
- )}
</div>
</DialogTrigger>
<DialogContent className="sm:max-w-3xl max-h-[80vh] overflow-auto">