Skip to content

Commit

Permalink
docs: fix offline example
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed Apr 24, 2022
1 parent 9e23e7a commit 1af25c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/offline/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
QueryClient,
MutationCache,
onlineManager,
useisRestoring,
useIsRestoring,
} from "react-query";
import { ReactQueryDevtools } from "react-query/devtools";
import toast, { Toaster } from "react-hot-toast";
Expand Down Expand Up @@ -76,7 +76,7 @@ export default function App() {
}

function Movies() {
const isRestoring = isRestoring();
const isRestoring = useIsRestoring();
return (
<Router
location={location}
Expand Down

0 comments on commit 1af25c6

Please sign in to comment.