I am facing an issue in react js, there is route to page e.g https://localhost:3000/profile?abc=123, the url is browsed successfully but the issue is when I click on button (I call api on click of this button using axios) in my website then the query params in the url gets removed automatically like this,
https://localhost:3000/profile. I have debugged, the params are removed when axios call is initiated. Any help would be highly appreciated.