Skip to content

Commit b6af09b

Browse files
committed
fix: 오타 수정
1 parent 4aa2098 commit b6af09b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const queryClient = new QueryClient({
117117
- QueryClient에서 모든 `query` 또는 `mutation`에 기본 옵션을 추가할 수 있으며, 종류가 상당하기 때문에 공식 사이트를 참고해보자.
118118

119119
```jsx
120-
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
120+
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
121121

122122
const queryClient = new QueryClient({ /* options */});
123123

@@ -726,7 +726,7 @@ const DependantQueriesPage = ({ email }: Props) => {
726726
- [QueryClient](https://github.com/ssi02014/react-query-tutorial/tree/master/document/queryClient.md)
727727
728728
```jsx
729-
import { QueryClient } from "@tanstack/react-query";
729+
import { useQueryClient } from "@tanstack/react-query";
730730

731731
const queryClient = useQueryClient();
732732
```
@@ -805,7 +805,7 @@ useEffect(() => {
805805
- react-query는 이러한 무한 쿼리를 지원하기 위해 useQuery의 유용한 버전인 `useInfiniteQuery`을 지원한다.
806806
807807
```jsx
808-
import { useInfiniteQuery } from '@tanstack/react-query' v4
808+
import { useInfiniteQuery } from "@tanstack/react-query";
809809

810810
const fetchColors = async ({ pageParam = 1 }) => {
811811
return await axios.get(

0 commit comments

Comments
 (0)