add supply

This commit is contained in:
2026-05-13 12:59:35 +05:30
parent fcf7654e78
commit 0bb486223e
6 changed files with 359 additions and 8 deletions
+4
View File
@@ -215,6 +215,8 @@ type Props = {
matchmakerSource: MatchmakerLogSource;
matchmakerContent: string;
matchmakerError: string | null;
/** Ledger: add-system-supply action failed (URL `supplyErr=1`). */
supplyError: boolean;
};
function StatCard({
@@ -264,6 +266,7 @@ export function AdminDashboard({
matchmakerSource,
matchmakerContent,
matchmakerError,
supplyError,
}: Props) {
const [hideNoWinner, setHideNoWinner] = useState(true);
const [lbSortKey, setLbSortKey] = useState<LeaderboardSortKey>("wins");
@@ -735,6 +738,7 @@ export function AdminDashboard({
participantRaw={participantRaw}
ledgerFrom={ledgerFrom}
ledgerTo={ledgerTo}
supplyError={supplyError}
/>
) : (
<section className="space-y-3">