0

enter image description here

I have a scenario need to load the component with a query parameter. if load flowPage/1234 the component loads correctly.

But if i load flowPage/1234/investigation its load a default page Note: 1234 is an queryparameter

1 Answers1

0

As of my understanding, you are probably nesting the routes with path,url by react-router-dom. just simply remove the exact from route that serves all nested routes will does the trick.

imLohith
  • 219
  • 2
  • 3
  • 15