Remove commented-out deleteFetcher function from fetchers.ts to clean up code
parent
a664a4ade9
commit
8f9c03f400
|
@ -34,11 +34,4 @@ async function mutationFetcher<Command>(url: string, { arg }: { arg: Command })
|
||||||
}).then(res => res.json());
|
}).then(res => res.json());
|
||||||
}
|
}
|
||||||
|
|
||||||
// async function deleteFetcher<Command>(url: string, { arg }: { arg: Command }) {
|
|
||||||
// return fetch(combine(url, arg as number), {
|
|
||||||
// method: "DELETE",
|
|
||||||
// headers: getHeaders()
|
|
||||||
// }).then(res => res.json());
|
|
||||||
// }
|
|
||||||
|
|
||||||
export { fetcher, mutationFetcher };
|
export { fetcher, mutationFetcher };
|
||||||
|
|
Loading…
Reference in New Issue