Remove commented-out deleteFetcher function from fetchers.ts to clean up code

master^2
Tudor Stanciu 2024-11-16 02:47:51 +02:00
parent a664a4ade9
commit 8f9c03f400
1 changed files with 0 additions and 7 deletions

View File

@ -34,11 +34,4 @@ async function mutationFetcher<Command>(url: string, { arg }: { arg: Command })
}).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 };