From 8bdcd94ee9dbd4229e0212569a6390876c668bd4 Mon Sep 17 00:00:00 2001 From: uo264915 Date: Sun, 28 Apr 2024 18:30:11 +0200 Subject: [PATCH] Warning eliminados --- webapp/src/components/HistoricalData.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/src/components/HistoricalData.js b/webapp/src/components/HistoricalData.js index 654b1deb..fc6eaaa3 100644 --- a/webapp/src/components/HistoricalData.js +++ b/webapp/src/components/HistoricalData.js @@ -1,6 +1,6 @@ import axios from 'axios'; import React, { useState, useEffect } from 'react'; -import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Container, TablePagination, Typography, Snackbar } from '@mui/material'; +import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Container, TablePagination, Typography } from '@mui/material'; import './HistoricalData.css'; import Navbar from './Navbar'; @@ -13,6 +13,7 @@ const HistoricalData = () => { useEffect(() => { handleShowHistory(); + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); // No es necesario deshabilitar eslint, ya que no hay dependencias externas const handleShowHistory = async () => {