import { useQuery } from '@tanstack/react-query';
import { dbisAdminApi } from '@/services/api/dbisAdminApi';
import LoadingSpinner from '@/components/shared/LoadingSpinner';
import './RiskCompliancePage.css';

export default function RiskCompliancePage() {
  const { data, isLoading } = useQuery({
    queryKey: ['risk-compliance'],
    queryFn: () => dbisAdminApi.getRiskComplianceDashboard(),
  });

  if (isLoading) return <LoadingSpinner fullPage />;

  return (
    <div className="page-container">
      <h1>Risk & Compliance</h1>
      <p>Risk & Compliance Dashboard Content</p>
    </div>
  );
}
