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