diff --git a/webui/package.json b/webui/package.json index eea329d..edb3d6f 100644 --- a/webui/package.json +++ b/webui/package.json @@ -19,9 +19,9 @@ "peerDependencies": { "@govoplan/core-webui": "^0.1.14", "lucide-react": "^1.23.0", - "react": "^19.0.0", - "react-dom": "^19.0.0", - "react-router-dom": ">=7.18.2 <8" + "react": ">=19.2.7 <20", + "react-dom": ">=19.2.7 <20", + "react-router": ">=8.3.0 <9" }, "peerDependenciesMeta": { "@govoplan/core-webui": { diff --git a/webui/src/features/postbox/PostboxInboxWidget.tsx b/webui/src/features/postbox/PostboxInboxWidget.tsx index 2b7a5cc..0f1e5f2 100644 --- a/webui/src/features/postbox/PostboxInboxWidget.tsx +++ b/webui/src/features/postbox/PostboxInboxWidget.tsx @@ -1,6 +1,6 @@ import { useCallback } from "react"; import { Inbox, Paperclip } from "lucide-react"; -import { Link } from "react-router-dom"; +import { Link } from "react-router"; import { DashboardWidgetList, DismissibleAlert,