mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
fix to category search
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Fetcher } from '@commerce/utils/types'
|
||||
|
||||
export const fetcher: Fetcher = async () => {
|
||||
console.log('FETCHER')
|
||||
|
||||
const res = await fetch('./data.json')
|
||||
if (res.ok) {
|
||||
const { data } = await res.json()
|
||||
|
Reference in New Issue
Block a user