Strapi Plugin i18n conflict react-router-dom version with Strapi
<!--
Hello 👋 Thank you for submitting an issue.

Before you start, please make sure your issue is understandable and reproducible.
To make your issue readable make sure you use valid Markdown syntax.

https://guides.github.com/features/mastering-markdown/

Please ensure you have also read and understand the contributing guide.

https://github.com/strapi/strapi/blob/main/CONTRIBUTING.md#reporting-an-issue
-->

## Bug report

### Required System information

<!-- Please ensure you are using the Node LTS version (18, 20, or 22) -->
<!-- Strapi v3 is no longer supported, please update to Strapi v4 -->
<!-- If you are reporting a frontend bug please provide error logs after setting STRAPI_ENFORCE_SOURCEMAPS=true in your .env -->
<!-- This environment variable makes frontend errors easier to read and trace -->

- Node.js version: 20.16.0
- NPM version:  yarn/1.22.22
- Strapi version: 5.2.0
- Database: postgres
- Operating system: darwin arm64
- Is your project Javascript or Typescript: Javascript

<!-- Did you know you can run `yarn strapi report` or `npm run strapi report` to get this information easier? -->

### Describe the bug
node_modules/@strapi/plugin-i18n/dist/_chunks/index-0tc0XYSs.mjs:11:9: ERROR: No matching export in "node_modules/react-router-dom/dist/index.js" for import "useHistory"
node_modules/@strapi/plugin-i18n/dist/_chunks/index-0tc0XYSs.mjs:11:32: ERROR: No matching export in "node_modules/react-router-dom/dist/index.js" for import "useRouteMatch"
<img width="1200" alt="Screenshot 2024-11-21 at 10 48 45" src="https://github.com/user-attachments/assets/f3af42e9-74b5-4a68-b96d-a4881f1d848a">


### Steps to reproduce the behavior

1. yarn add @strapi/plugin-i18n
2. yarn develop


### Expected behavior
Strapi work 

### Screenshots
Strapi: react-router-dom ^6.0.0
<img width="479" alt="Screenshot 2024-11-21 at 10 44 31" src="https://github.com/user-attachments/assets/778a3ea6-9bbc-4e2b-a546-9acc7db7a684">
Strapi/plugin-i18n:  "react-router-dom": "5.3.4",
<img width="486" alt="Screenshot 2024-11-21 at 10 46 29" src="https://github.com/user-attachments/assets/ee278880-1873-4692-85e6-5475de4bfabf">

