diff --git a/examples/offline/src/App.js b/examples/offline/src/App.js index 7af6646ce0..7eaf3ac4e7 100644 --- a/examples/offline/src/App.js +++ b/examples/offline/src/App.js @@ -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"; @@ -76,7 +76,7 @@ export default function App() { } function Movies() { - const isRestoring = isRestoring(); + const isRestoring = useIsRestoring(); return (