diff --git a/components/fetcher.tsx b/components/fetcher.tsx new file mode 100644 index 0000000..0a37648 --- /dev/null +++ b/components/fetcher.tsx @@ -0,0 +1 @@ +export const fetcher = (url:string) => fetch(url).then((res) => res.json()); \ No newline at end of file