LOL
This commit is contained in:
1
frontend/pages/vendors/index.js
vendored
1
frontend/pages/vendors/index.js
vendored
@@ -94,7 +94,6 @@ export default function VendorsPage({ globals, categories }) {
|
||||
const { data, error, isLoading, isValidating } = useSWR(['vendors', page, perPage, search, category], async () => {
|
||||
if (!perPage) return
|
||||
|
||||
await new Promise((r) => setTimeout(r, 2000))
|
||||
const url = new URL(`${process.env.NEXT_PUBLIC_DIRECTUS_API_URL}/items/vendors`)
|
||||
url.searchParams.append('fields[]', '*')
|
||||
url.searchParams.append('limit', perPage)
|
||||
|
||||
Reference in New Issue
Block a user