diff --git a/plugins/auth/package.json b/plugins/auth/package.json index c69ffe656f..6dadc78423 100644 --- a/plugins/auth/package.json +++ b/plugins/auth/package.json @@ -70,12 +70,18 @@ "@types/react": "^18.0.0", "msw": "^1.0.0", "react": "^18.0.2", - "react-dom": "^18.0.2" + "react-dom": "^18.0.2", + "react-router-dom": "^6.3.0" }, "peerDependencies": { "@types/react": "^17.0.0 || ^18.0.0", "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0", "react-router-dom": "^6.3.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }