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
second Route is working well when i pass any search term but when i try to access first route '/' using history.push('/') calling by function it changes the url in the browser but does not render the component of '/' route.
import { createBrowserHistory } from "history";
const history = createBrowserHistory();
const redirectToHome = () => {
history.push('/');
}
could you please suggest me what is the issue? Thanks a lot.
The text was updated successfully, but these errors were encountered:
Hello Sir
I have below routing in app function:
second Route is working well when i pass any search term but when i try to access first route '/' using history.push('/') calling by function it changes the url in the browser but does not render the component of '/' route.
could you please suggest me what is the issue? Thanks a lot.
The text was updated successfully, but these errors were encountered: