fix: remove number fetcher

This commit is contained in:
TrèsAbhi committed 2023-11-13 23:03:28 -06:00
1 parent c742c0725d
commit d2d0477186
1 file changed
-6
-6
View File
@@ -1,6 +0,0 @@
import { Fetcher } from 'swr';
export const numberFetcher: Fetcher<number, string> = (url) =>
fetch(url)
.then((res) => res.text())
.then(parseInt);