diff --git a/webui/package.json b/webui/package.json index 345ec03..a838768 100644 --- a/webui/package.json +++ b/webui/package.json @@ -20,12 +20,12 @@ "peerDependencies": { "@govoplan/core-webui": "^0.1.9", "lucide-react": "^1.23.0", - "react": "^19.0.0", - "react-dom": "^19.0.0", - "react-router-dom": ">=7.18.2 <8", - "@vitejs/plugin-react": "^4.3.4", + "react": ">=19.2.7 <20", + "react-dom": ">=19.2.7 <20", + "react-router": ">=8.3.0 <9", + "@vitejs/plugin-react": "^5.2.0", "typescript": "^5.7.2", - "vite": "^6.0.6" + "vite": "^7.3.6" }, "peerDependenciesMeta": { "@govoplan/core-webui": { diff --git a/webui/src/features/notifications/NotificationSummaryWidget.tsx b/webui/src/features/notifications/NotificationSummaryWidget.tsx index 259b996..4792938 100644 --- a/webui/src/features/notifications/NotificationSummaryWidget.tsx +++ b/webui/src/features/notifications/NotificationSummaryWidget.tsx @@ -1,4 +1,4 @@ -import { Link } from "react-router-dom"; +import { Link } from "react-router"; import { DismissibleAlert, LoadingFrame,