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

export default function GRUPage() {
  const { data, isLoading } = useQuery({
    queryKey: ['gru-command'],
    queryFn: () => dbisAdminApi.getGRUCommandDashboard(),
  });

  if (isLoading) return <LoadingSpinner fullPage />;

  return (
    <div className="page-container">
      <h1>GRU Command Center</h1>
      <p>GRU Dashboard Content</p>
    </div>
  );
}
