mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-04-30 08:12:26 +00:00
feat(image-search): fix bugs
This commit is contained in:
@ -66,7 +66,7 @@ const SearchImages = ({
|
|||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
{loading && (
|
{loading && (
|
||||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-2">
|
<div className="grid grid-cols-2 gap-2">
|
||||||
{[...Array(4)].map((_, i) => (
|
{[...Array(4)].map((_, i) => (
|
||||||
<div
|
<div
|
||||||
key={i}
|
key={i}
|
||||||
@ -127,7 +127,7 @@ const SearchImages = ({
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<p className="text-white/70 text-xs">
|
<p className="text-white/70 text-xs">
|
||||||
View {images.slice(0, 2).length} more
|
View {images.length - 3} more
|
||||||
</p>
|
</p>
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user