diff --git a/src/src/components/stationCard/StationCard.js b/src/src/components/stationCard/StationCard.js index 88ae285..2719723 100644 --- a/src/src/components/stationCard/StationCard.js +++ b/src/src/components/stationCard/StationCard.js @@ -4,6 +4,7 @@ import { Card, Col, Spinner } from "react-bootstrap"; import { IconDroplet, IconMapPin, IconSun } from "@tabler/icons-react"; import Services from "../../services/Services"; import { getDayOfWeek } from "../../utils/Utilities"; +import { Link } from "react-router-dom"; function StationCard({ loading, msgError, station }) { const [lastDataStation, setLastDataStation] = useState(); @@ -38,98 +39,111 @@ function StationCard({ loading, msgError, station }) { ); - return ( -
Cargando datos...
Cargando datos...
-{msgError}
-{msgError}
+No se ha seleccionado ninguna estación
No se ha seleccionado ninguna estación
+