+
+
+
+ {Array.from({ length: rows }).map((_, index) => (
+
+
+
+ ))}
+
+ );
+}
diff --git a/apps/admin/src/components/QueryState.tsx b/apps/admin/src/components/QueryState.tsx
index 9c785da..348a894 100644
--- a/apps/admin/src/components/QueryState.tsx
+++ b/apps/admin/src/components/QueryState.tsx
@@ -1,5 +1,6 @@
-import { Button, Card, Skeleton } from "antd";
+import { Button } from "antd";
import type { ReactNode } from "react";
+import { LoadingStack } from "./LoadingStack.js";
function errorMessage(error: unknown, fallback: string) {
return error instanceof Error ? error.message : fallback;
@@ -21,21 +22,6 @@ export function QueryState({
return <>{children}>;
}
-export function LoadingStack({ rows = 3 }: { rows?: number }) {
- return (
-