diff --git a/frontend/src/routes/__root.tsx b/frontend/src/routes/__root.tsx
index d0e250f..c2ed565 100644
--- a/frontend/src/routes/__root.tsx
+++ b/frontend/src/routes/__root.tsx
@@ -3,21 +3,32 @@ import React, { Suspense } from "react"
import NotFound from "../components/Common/NotFound"
-const TanStackRouterDevtools =
+const loadDevtools = () =>
+ Promise.all([
+ import("@tanstack/router-devtools"),
+ import("@tanstack/react-query-devtools")
+ ]).then(([routerDevtools, reactQueryDevtools]) => {
+ return {
+ default: () => (
+ <>
+
+
+ >
+ )
+ };
+ });
+
+const TanStackDevtools =
process.env.NODE_ENV === "production"
? () => null
- : React.lazy(() =>
- import("@tanstack/router-devtools").then((res) => ({
- default: res.TanStackRouterDevtools,
- })),
- )
+ : React.lazy(loadDevtools);
export const Route = createRootRoute({
component: () => (
<>
-
+
>
),