Skip to content

Commit 1af25c6

Browse files
committed
docs: fix offline example
1 parent 9e23e7a commit 1af25c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/offline/src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
QueryClient,
66
MutationCache,
77
onlineManager,
8-
useisRestoring,
8+
useIsRestoring,
99
} from "react-query";
1010
import { ReactQueryDevtools } from "react-query/devtools";
1111
import toast, { Toaster } from "react-hot-toast";
@@ -76,7 +76,7 @@ export default function App() {
7676
}
7777

7878
function Movies() {
79-
const isRestoring = isRestoring();
79+
const isRestoring = useIsRestoring();
8080
return (
8181
<Router
8282
location={location}

0 commit comments

Comments
 (0)