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
I would not expect NavigationPrompt to work with multiple BrowserRouters. In your example, I change NavigationPrompt to react-router's Prompt, and it didn't work either. I just updated the README to call this out. Please reopen if it makes sense to.
If there are multiple
BrowserRouter
instances,NavigationPrompt
doesn't work as expected.https://oq16x.csb.app/sub/route1
The text was updated successfully, but these errors were encountered: