Extracted fetcher into separate file
This commit is contained in:
parent
bb76b00506
commit
f7d3d7c7ca
1 changed files with 1 additions and 0 deletions
1
components/fetcher.tsx
Normal file
1
components/fetcher.tsx
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export const fetcher = (url:string) => fetch(url).then((res) => res.json());
|
Loading…
Reference in a new issue