diff --git a/package.json b/package.json index 230ec25c38..0790d9adb5 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "react-jss": "10.10.0", "react-loader": "2.4.7", "react-modal": "3.16.1", - "react-router-dom": "6.4.2", + "react-router-dom": "6.11.2", "react-sortable-hoc": "2.0.0", "react-tooltip": "5.13.1", "react-topbar-progress-indicator": "4.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4946c04ba9..3743c42cfc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -200,8 +200,8 @@ dependencies: specifier: 3.16.1 version: 3.16.1(react-dom@18.2.0)(react@18.2.0) react-router-dom: - specifier: 6.4.2 - version: 6.4.2(react-dom@18.2.0)(react@18.2.0) + specifier: 6.11.2 + version: 6.11.2(react-dom@18.2.0)(react@18.2.0) react-sortable-hoc: specifier: 2.0.0 version: 2.0.0(prop-types@15.8.1)(react-dom@18.2.0)(react@18.2.0) @@ -2178,8 +2178,8 @@ packages: dev: true optional: true - /@remix-run/router@1.0.2: - resolution: {integrity: sha512-GRSOFhJzjGN+d4sKHTMSvNeUPoZiDHWmRnXfzaxrqe7dE/Nzlc8BiMSJdLDESZlndM7jIUrZ/F4yWqVYlI0rwQ==} + /@remix-run/router@1.6.2: + resolution: {integrity: sha512-LzqpSrMK/3JBAVBI9u3NWtOhWNw5AMQfrUFYB0+bDHTSw17z++WJLsPsxAuK+oSddsxk4d7F/JcdDPM1M5YAhA==} engines: {node: '>=14'} dev: false @@ -10084,26 +10084,26 @@ packages: warning: 4.0.3 dev: false - /react-router-dom@6.4.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-yM1kjoTkpfjgczPrcyWrp+OuQMyB1WleICiiGfstnQYo/S8hPEEnVjr/RdmlH6yKK4Tnj1UGXFSa7uwAtmDoLQ==} + /react-router-dom@6.11.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-JNbKtAeh1VSJQnH6RvBDNhxNwemRj7KxCzc5jb7zvDSKRnPWIFj9pO+eXqjM69gQJ0r46hSz1x4l9y0651DKWw==} engines: {node: '>=14'} peerDependencies: react: '>=16.8' react-dom: '>=16.8' dependencies: - '@remix-run/router': 1.0.2 + '@remix-run/router': 1.6.2 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-router: 6.4.2(react@18.2.0) + react-router: 6.11.2(react@18.2.0) dev: false - /react-router@6.4.2(react@18.2.0): - resolution: {integrity: sha512-Rb0BAX9KHhVzT1OKhMvCDMw776aTYM0DtkxqUBP8dNBom3mPXlfNs76JNGK8wKJ1IZEY1+WGj+cvZxHVk/GiKw==} + /react-router@6.11.2(react@18.2.0): + resolution: {integrity: sha512-74z9xUSaSX07t3LM+pS6Un0T55ibUE/79CzfZpy5wsPDZaea1F8QkrsiyRnA2YQ7LwE/umaydzXZV80iDCPkMg==} engines: {node: '>=14'} peerDependencies: react: '>=16.8' dependencies: - '@remix-run/router': 1.0.2 + '@remix-run/router': 1.6.2 react: 18.2.0 dev: false diff --git a/src/routes.tsx b/src/routes.tsx index 04b6fa96f6..beada5c96e 100644 --- a/src/routes.tsx +++ b/src/routes.tsx @@ -51,6 +51,7 @@ class FerdiumRoutes extends Component { const errorProps = { error: routeProps.stores.globalError.error || {} }; return ( + // @ts-expect-error }>