chore: clean up

This commit is contained in:
2024-02-13 08:57:24 +07:00
parent ed52105c02
commit 90f149b09c
11 changed files with 16 additions and 114 deletions

View File

@@ -6,10 +6,10 @@ import React, { StrictMode } from "react";
import ReactDOM from "react-dom/client";
import { I18nextProvider } from "react-i18next";
import "./app.css";
import i18n from "./i18n";
import i18n from "./locale";
// Import the generated route tree
import { routeTree } from "./tree.gen";
import { routeTree } from "./router.gen";
const queryClient = new QueryClient();
const router = createRouter({
@@ -17,8 +17,6 @@ const router = createRouter({
context: {
queryClient,
},
defaultPreload: "intent",
defaultPreloadStaleTime: 0,
});
declare module "@tanstack/react-router" {