these both are the child of one main (component) Route and i have set the values when they are fetch from back end API
and set into these DYNAMIC paths ( main route children ) in Route Class.
Now what I am getting is the same component ( first name Component ) even on different child name of routes in main route .
what i want is they should go to different component.
I have set the value in routing class now they should refer to Different component. Not to the same component.
I have set the same dynamic routes i.e :firstRoute and :secondRoute.
these both are the child of one main (component) Route and i have set the values when they are fetch from back end API and set into these DYNAMIC paths ( main route children ) in Route Class.
Now what I am getting is the same component ( first name Component ) even on different child name of routes in main route .
what i want is they should go to different component.
I have set the value in routing class now they should refer to Different component. Not to the same component.