diff --git a/app/src/ui/routes/index.tsx b/app/src/ui/routes/index.tsx index 2d9f793..6b3a3e4 100644 --- a/app/src/ui/routes/index.tsx +++ b/app/src/ui/routes/index.tsx @@ -16,9 +16,11 @@ import ToolsRoutes from "./tools"; // @ts-ignore let TestRoutes: any; -if (import.meta.env.DEV) { - TestRoutes = lazy(() => import("./test")); -} +try { + if (import.meta.env.DEV) { + TestRoutes = lazy(() => import("./test")); + } +} catch {} export function Routes({ BkndWrapper,