mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Better Search Experience
This commit is contained in:
parent
17d8913d17
commit
a0e5448210
@ -141,10 +141,15 @@ export default function Search({
|
||||
layout="normal"
|
||||
wrapper={
|
||||
data
|
||||
? ProductCard
|
||||
? (p: any) => (
|
||||
<ProductCard
|
||||
className="animate__animated animate__fadeIn"
|
||||
{...p}
|
||||
/>
|
||||
)
|
||||
: () => (
|
||||
<Skeleton
|
||||
className="w-full animate__animated animate__fadeIn rounded-md"
|
||||
className="w-full animate__animated animate__fadeIn"
|
||||
height={325}
|
||||
/>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user