Explorar o código

remove default fetcher

Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
f62111b8a4
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      packages/app/src/utils/swr-utils.ts

+ 0 - 3
packages/app/src/utils/swr-utils.ts

@@ -1,9 +1,6 @@
 import { SWRConfiguration } from 'swr';
 
-import axios from './axios';
-
 export const swrGlobalConfiguration: SWRConfiguration = {
-  fetcher: url => axios.get(url).then(res => res.data),
   revalidateOnFocus: false,
   errorRetryCount: 1,
 };