Fix refetchInterval 180.000 ms

This commit is contained in:
2025-10-26 21:51:04 -03:00
parent 99406d10ee
commit c36f4b6153
9 changed files with 10 additions and 10 deletions

View File

@@ -46,7 +46,7 @@ export const ResumenNacionalWidget = () => {
const { data, isLoading, error } = useQuery({
queryKey: ['resumenNacional', ELECCION_ID, categoria.value],
queryFn: () => getResumenNacionalPorProvincia(ELECCION_ID, categoria.value),
refetchInterval: 60000,
refetchInterval: 180000,
});
// 2. Ordenar los datos de la API usando el mapa de ordenamiento