diff --git a/frontend/src/units/swr/fetchers.ts b/frontend/src/units/swr/fetchers.ts index a407355..23f7bd9 100644 --- a/frontend/src/units/swr/fetchers.ts +++ b/frontend/src/units/swr/fetchers.ts @@ -34,11 +34,4 @@ async function mutationFetcher(url: string, { arg }: { arg: Command }) }).then(res => res.json()); } -// async function deleteFetcher(url: string, { arg }: { arg: Command }) { -// return fetch(combine(url, arg as number), { -// method: "DELETE", -// headers: getHeaders() -// }).then(res => res.json()); -// } - export { fetcher, mutationFetcher };