Solution (Downgrade to React Router 6.9.0) ! After debugging and testing different versions, I found that this issue does not exist in [email protected]. If you are facing this issue, simply downgrade by running:
npm install [email protected]