Fix Distritos Para Senadores

This commit is contained in:
2025-10-22 13:09:28 -03:00
parent db469ffba6
commit 0ee092d6ed
4 changed files with 4 additions and 10 deletions

View File

@@ -2,7 +2,6 @@
import { useQuery } from '@tanstack/react-query';
import { getResumenPorProvincia } from '../../../apiService';
import { ProvinciaCard } from './components/ProvinciaCard';
// 1. La importación de CSS ahora se hace como un módulo
import styles from './ResultadosNacionalesCardsWidget.module.css';
interface Props {
@@ -36,7 +35,6 @@ export const ResultadosNacionalesCardsWidget = ({
if (error) return <div>Error al cargar los datos.</div>;
if (!data || data.length === 0) return <div>No hay resultados para mostrar con los filtros seleccionados.</div>
// 2. Todas las props 'className' ahora usan el objeto 'styles'
return (
<section className={styles.cardsWidgetContainer}>
<div className={styles.cardsGrid}>