Why is there a conflict between the Redirect component from react-router-dom

I was having issues while trying to deploy my app. Now that it is deployed, I am having some issues with my functionality. Anyhow I am wondering what would be the cause to @parcel/core: node_modules/react-router-dom/dist/index.js does not export 'Redirect'.
This are the dependencies I am using:
“bootstrap”: “^5.2.3”,
“prop-types”: “^15.8.1”,
“react”: “^18.2.0”,
“react-bootstrap”: “^2.7.2”,
“react-dom”: “^18.2.0”,
“react-hook-form”: “^7.43.5”,
“react-router”: “^6.8.2”,
“react-router-dom”: “^6.8.2”

hi there, before we dig in, did you see this brand new guide on debugging redirects?

I strongly suggest you give it a thorough read through and see if this fixes your problem:

if not, please post again, and we’ll try and troubleshoot.

Yes, I had to change my links since there was a conflict with netlify building.
Thanks thou.

:wave: @HerRA17 ,

I wanted to see if you still need help? If so, could you please share the site and where you’re seeing the error? Is it from a deploy or Function log?

Thanks but it seems to be resolved

glad to hear it thanks for writing back in.