import { useZonesOfRegulationPage } from '@/business/zones/hooks';
import { ZonesOfRegulationView } from '@/components/zones-of-regulation/ZonesOfRegulationView';
import { useAuth } from '@/contexts/useAuth';

const ZonesOfRegulation = () => {
  const { user } = useAuth();
  const page = useZonesOfRegulationPage({ user });

  return <ZonesOfRegulationView page={page} />;
};

export default ZonesOfRegulation;
