mirror of
https://github.com/vercel/commerce.git
synced 2025-06-13 11:21:22 +00:00
14 lines
341 B
TypeScript
14 lines
341 B
TypeScript
import { SWRHook } from '@commerce/utils/types'
|
|
import useSearch, { UseSearch } from '@commerce/product/use-search'
|
|
export default useSearch as UseSearch<typeof handler>
|
|
|
|
export const handler: SWRHook<any> = {
|
|
fetchOptions: {
|
|
query: '',
|
|
},
|
|
async fetcher({ input, options, fetch }) {},
|
|
useHook: () => () => {
|
|
return {}
|
|
},
|
|
}
|