mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
🔥 remove: log
:%s
This commit is contained in:
parent
5c70c8be25
commit
8f290f94f6
@ -5,7 +5,6 @@ import useSWR from 'swr'
|
||||
|
||||
const useFacets = (options: QueryFacetsArgs) => {
|
||||
const { data, isValidating, ...rest } = useSWR<GetAllFacetsQuery>([getAllFacetsQuery, options], gglFetcher)
|
||||
console.log("here", data)
|
||||
return { items: data?.facets.items, totalItems: data?.facets.totalItems, loading: isValidating, ...rest }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user