import { ModuleScaffold } from "@/components/admin/module-scaffold";
import { AdminPermissionGate } from "@/components/admin/admin-permission-gate";
import { ReconcileConsole } from "@/modules/reconcile/reconcile-console";
import { buildPageMetadata } from "@/lib/page-metadata";
import { PRD_WALLET_TX_ACCESS_ANY } from "@/lib/admin-prd";
import type { Metadata } from "next";

export const metadata: Metadata = buildPageMetadata("reconcile", "title");

export default function AdminReconcilePage() {
  return (
    <ModuleScaffold>
      <AdminPermissionGate requiredAny={PRD_WALLET_TX_ACCESS_ANY}>
        <ReconcileConsole />
      </AdminPermissionGate>
    </ModuleScaffold>
  );
}
