Reputation: 1
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
Upvotes: 0
Views: 280
Reputation: 229
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.
Upvotes: 0