Skip to content

Commit dd21e24

Browse files
authored
Update use-infinite.md
1 parent 72d3d49 commit dd21e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/swr-openapi/use-infinite.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This hook is a typed wrapper over [`useSWRInfinite`][swr-infinite].
88

99
```ts
1010
import createClient from "openapi-fetch";
11-
import { createQueryHook } from "swr-openapi";
11+
import { createInfiniteHook } from "swr-openapi";
1212
import type { paths } from "./my-schema";
1313

1414
const client = createClient<paths>(/* ... */);

0 commit comments

Comments
 (0)