import type { HookFetcherFn } from './types' export const SWRFetcher: HookFetcherFn = ({ options, fetch }) => fetch(options) export const mutationFetcher: HookFetcherFn = ({ input, options, fetch, }) => fetch({ ...options, body: input }) export default SWRFetcher