+
+
+ {title}
+
+ {description && (
+
+ {description}
+
+ )}
+
+ {extra}
+
+ );
+}
diff --git a/apps/admin/src/components/QueryState.tsx b/apps/admin/src/components/QueryState.tsx
new file mode 100644
index 0000000..c76e43b
--- /dev/null
+++ b/apps/admin/src/components/QueryState.tsx
@@ -0,0 +1,47 @@
+import { Alert, Button, Card, Empty, Result, Spin } from "antd";
+import type { ReactNode } from "react";
+
+export function QueryState({
+ loading,
+ error,
+ onRetry,
+ children,
+}: {
+ loading?: boolean;
+ error?: unknown;
+ onRetry?: () => void;
+ children: ReactNode;
+}) {
+ if (loading)
+ return (
+