4
0
forked from crowetic/commerce

Adding Search Skeleton

This commit is contained in:
Belen Curcio 2020-10-15 12:12:28 -03:00
parent fddf85df4b
commit 014d195463
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ export default function useData<T, Input = any>(
fetcherRef.current
)
}
const response = useSWR(
() => {
const opts = typeof options === 'function' ? options() : options

View File

@ -145,7 +145,7 @@ export default function Search({
: () => (
<Skeleton
className="w-full animate__animated animate__fadeIn rounded-md"
height={200}
height={325}
/>
)
}