diff --git a/remix/app/root.tsx b/remix/app/root.tsx index 40c3c02..abfab3e 100644 --- a/remix/app/root.tsx +++ b/remix/app/root.tsx @@ -18,6 +18,7 @@ import { BasketButton } from "./components/basket/basket-button"; import { QueryClient, QueryClientProvider } from "react-query"; import { ErrorComponent } from "./components/404"; + const queryClient = new QueryClient(); export const meta: MetaFunction = () => { diff --git a/remix/remix.config.js b/remix/remix.config.js index 01e9a79..cc66aa5 100644 --- a/remix/remix.config.js +++ b/remix/remix.config.js @@ -2,10 +2,10 @@ * @type {import('@remix-run/dev').AppConfig} */ module.exports = { - ignoredRouteFiles: [".*"] + ignoredRouteFiles: [".*"], // appDirectory: "app", // assetsBuildDirectory: "public/build", // serverBuildPath: "build/index.js", // publicPath: "/build/", - // devServerPort: 8002 + devServerPort: 3019 };