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
-
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