mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Adding Search Skeleton
This commit is contained in:
parent
fddf85df4b
commit
014d195463
@ -19,6 +19,7 @@ export default function useData<T, Input = any>(
|
||||
fetcherRef.current
|
||||
)
|
||||
}
|
||||
|
||||
const response = useSWR(
|
||||
() => {
|
||||
const opts = typeof options === 'function' ? options() : options
|
||||
|
@ -145,7 +145,7 @@ export default function Search({
|
||||
: () => (
|
||||
<Skeleton
|
||||
className="w-full animate__animated animate__fadeIn rounded-md"
|
||||
height={200}
|
||||
height={325}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user