mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
fix: remove number fetcher
This commit is contained in:
1 parent
c742c0725d
commit
d2d0477186
1 file changed
-6
@@ -1,6 +0,0 @@
|
|||||||
import { Fetcher } from 'swr';
|
|
||||||
|
|
||||||
export const numberFetcher: Fetcher<number, string> = (url) =>
|
|
||||||
fetch(url)
|
|
||||||
.then((res) => res.text())
|
|
||||||
.then(parseInt);
|
|
||||||
Reference in new issue
Block a user