main-site/components/fetcher.tsx

1 line
76 B
TypeScript
Raw Normal View History

2022-12-17 20:30:31 +00:00
export const fetcher = (url:string) => fetch(url).then((res) => res.json());