mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-24 07:51:52 +08:00
refactor: enhance web ux
This commit is contained in:
+2
-1
@@ -4,6 +4,7 @@ import { routeTree } from "./routeTree.gen";
|
||||
import "./index.css";
|
||||
import { TailwindIndicator } from "@/components/tailwind-indicator.tsx";
|
||||
import { Toaster } from "@/components/ui/sonner.tsx";
|
||||
import { env } from "@/config.ts";
|
||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
@@ -27,7 +28,7 @@ if (!rootElement.innerHTML) {
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<Toaster />
|
||||
<RouterProvider router={router} />
|
||||
<TailwindIndicator />
|
||||
{env.MODE !== "production" && <TailwindIndicator />}
|
||||
</QueryClientProvider>,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user