mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
🔥 remove: log
:%s
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user