From 21fb1225931e7aecb3c849861c5b31bf0d85c38f Mon Sep 17 00:00:00 2001 From: Gabriel Pelouze Date: Thu, 12 Dec 2024 10:55:05 +0100 Subject: [PATCH] revert to React 18 we have to wait for react-leaflet v5.0.0 to support React 19 (https://github.com/PaulLeCam/react-leaflet/issues/1133) --- vre-panel/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vre-panel/package.json b/vre-panel/package.json index 3b30d3a..0849e67 100644 --- a/vre-panel/package.json +++ b/vre-panel/package.json @@ -18,8 +18,8 @@ "keycloak-js": "~26.0.7", "next": "15.1.0", "next-auth": "~4.24.7", - "react": "19.0.0", - "react-dom": "19.0.0", + "react": "~18", + "react-dom": "~18", "react-markdown": "^9.0.0", "tailwindcss": "~3.4.1", "use-subscription": "~1.10.0", @@ -31,7 +31,7 @@ "typescript": "^5.5", "@tailwindcss/typography": "^0.5.10", "@types/node": "~22.10.2", - "@types/react": "~19.0.1", + "@types/react": "~18", "autoprefixer": "~10.4.15", "axios-mock-adapter": "~2.1.0", "eslint": "^9",