Skip to content

Commit

Permalink
chore(fetchApi): remove unused logging
Browse files Browse the repository at this point in the history
  • Loading branch information
outloudvi committed Jun 24, 2024
1 parent 0998798 commit e10b877
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions utils/fetchApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,5 @@ export function fetchApi<T extends keyof APIMapping>(

return fetch(String(url), {
next: { revalidate: 3600 },
}).then((res) => {
console.log(url)
console.log(res.headers)
return res.json()
})
}).then((res) => res.json())
}

0 comments on commit e10b877

Please sign in to comment.