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 got this error from RouteChangeListener. In there, useHistory is used to navigation.
I'm currently using react-router-dom version 6.4.5. But useHistory was not found in that version. Is it possible to upgrade your react-router-dom.
The text was updated successfully, but these errors were encountered:
When we update the new version, we still got the same error, because it is still using the useHistory function to get the navigation history. var history = (0, _reactRouterDom.useHistory)();
I think it is better to use the useNavigate function.
I got this error from RouteChangeListener. In there, useHistory is used to navigation.
I'm currently using react-router-dom version 6.4.5. But useHistory was not found in that version. Is it possible to upgrade your react-router-dom.
The text was updated successfully, but these errors were encountered: