+
-
-
-
+ {children}
);
diff --git a/web/src/objects/objects-page.tsx b/web/src/objects/objects-page.tsx
index ad823e6..0976942 100644
--- a/web/src/objects/objects-page.tsx
+++ b/web/src/objects/objects-page.tsx
@@ -1,19 +1,15 @@
-import { lazy, Suspense } from "react";
import { Outlet, useMatch, useNavigate, useSearchParams } from "react-router-dom";
import { useTranslation } from "react-i18next";
import { X } from "lucide-react";
import { ObjectsTable } from "./objects-table";
+import { DetailDrawer } from "../components/detail-drawer";
import { useMediaQuery } from "../lib/use-media-query";
import { useDocumentTitle } from "../lib/use-document-title";
import { useBreadcrumb } from "../shell/use-breadcrumb";
import { Button } from "@/components/ui/button";
import { PageTitle } from "@/components/ui/page-title";
-const ObjectDetailDrawer = lazy(() =>
- import("./object-detail-drawer").then((m) => ({ default: m.ObjectDetailDrawer })),
-);
-
export function ObjectsPage() {
const { t } = useTranslation();
const navigate = useNavigate();
@@ -66,15 +62,14 @@ export function ObjectsPage() {
);
}
- // Narrow: the detail lives in a Drawer, lazy-loaded so Base UI's drawer code stays
- // out of the main entry chunk.
+ // Narrow: the detail lives in a Drawer sliding from the right.
return (
{table}
{open && (
-
-
-
+
+
+
)}
);