forked from crowetic/commerce
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
|
fetcherRef.current
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const response = useSWR(
|
const response = useSWR(
|
||||||
() => {
|
() => {
|
||||||
const opts = typeof options === 'function' ? options() : options
|
const opts = typeof options === 'function' ? options() : options
|
||||||
|
@ -145,7 +145,7 @@ export default function Search({
|
|||||||
: () => (
|
: () => (
|
||||||
<Skeleton
|
<Skeleton
|
||||||
className="w-full animate__animated animate__fadeIn rounded-md"
|
className="w-full animate__animated animate__fadeIn rounded-md"
|
||||||
height={200}
|
height={325}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user