diff --git a/frontend/package.json b/frontend/package.json index 64ad02f..9add6be 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "wetterstation-frontend", "private": true, - "version": "1.4.0", + "version": "1.4.1", "type": "module", "scripts": { "dev": "vite", @@ -9,9 +9,9 @@ "preview": "vite preview" }, "dependencies": { - "date-fns": "^3.3.1", - "highcharts": "^11.4.0", - "highcharts-react-official": "^3.2.1", + "date-fns": "^4.1.0", + "highcharts": "^12.6.0", + "highcharts-react-official": "^3.2.3", "react": "^18.3.1", "react-dom": "^18.3.1" }, diff --git a/frontend/src/components/WeatherDashboard.jsx b/frontend/src/components/WeatherDashboard.jsx index c52e58d..276eb60 100644 --- a/frontend/src/components/WeatherDashboard.jsx +++ b/frontend/src/components/WeatherDashboard.jsx @@ -1,6 +1,6 @@ import { useMemo, useState } from 'react' import Highcharts from 'highcharts' -import HighchartsReact from 'highcharts-react-official' +import { HighchartsReact } from 'highcharts-react-official' import { format } from 'date-fns' import { de } from 'date-fns/locale' import './WeatherDashboard.css'