You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
router.js:425 Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
at Object.createURL (router.js:425:1)
at createClientSideRequest (router.js:3905:1)
at startNavigation (router.js:1882:1)
at Object.initialize (router.js:1550:1)
at createBrowserRouter (index.js:243:4)
at reactrouterv6.js:347:1
What version of React Router are you using?
6.22.3
Steps to Reproduce
Case 1 - Create a router to test * path
Case 2 - Create a router to test 'navigate'
Enter the app with '//' path on either case
Expected Behavior
Case 1 -
Test * Path
should be renderedCase 2 - navigate should work
Actual Behavior
Case 1 - nothing is rendered
Case 2 - navigate doesn't work with the following error:
TypeError: Failed to construct 'URL': Invalid URL
The text was updated successfully, but these errors were encountered: