Replies: 1 comment
-
import "@/styles/globals.css"; import { wrapper } from "@/store/store"; export const queryClient = new QueryClient(); const App = ({ Component, pageProps }) => { export default wrapper.withRedux(App); the code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to fix this problem. Do anyone have any idea?
here's my code for _app.js
import "@/styles/globals.css";
import { Hydrate, QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { wrapper } from "@/store/store";
export const queryClient = new QueryClient();
const App = ({ Component, pageProps }) => {
return (
<Component {...pageProps} />
);
};
export default wrapper.withRedux(App);
Starts working again once I remove the wrapper.
Beta Was this translation helpful? Give feedback.
All reactions