Skip to content

Commit 40d8f56

Browse files
author
Alex Cory
committed
Merge branch 'master' of github.com:alex-cory/react-usefetch
2 parents 46e7466 + d725956 commit 40d8f56

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/useMutation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import useFetch, { FetchContext } from '.'
21
import { useContext, useCallback } from 'react'
2+
import useFetch from './useFetch'
3+
import { FetchContext } from './FetchContext'
34
import { ReqBase } from './types'
45
import { invariant, isString, useURLRequiredInvariant } from './utils'
56

src/useQuery.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import useFetch, { FetchContext } from '.'
21
import { useContext, useCallback } from 'react'
2+
import useFetch from './useFetch'
3+
import { FetchContext } from './FetchContext'
34
import { ReqBase, Cache } from './types'
45
import { invariant, isString, useURLRequiredInvariant } from './utils'
56

0 commit comments

Comments
 (0)