I'm trying to have routing withing an existing route, but when I try to apply more routes on top of the existing route, the parent component is no longer rendered.
Here are my parent routes:
<Routes>
<Route exact path = '/Music-Shop' element={<LandingPage />} />
<Route path = '/Music-Shop/Products' element={<ProductsHome />} />
</Routes>
I want to have a Link component lead to /Products/product-category inside the ProductsHome component, and keep it rendering
<Link
to = '/Music-Shop/Products/Instruments'
className = 'sidebarLink'
/>
How can I keep extending the /Products path while still rendering the ProductsHome Component?