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

export default function CBDCFXPage() {
  const { data, isLoading } = useQuery({
    queryKey: ['cbdc-fx'],
    queryFn: () => dbisAdminApi.getCBDCFXDashboard(),
  });

  if (isLoading) return <LoadingSpinner fullPage />;

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