Commit 81b51936 authored by Axel Bocciarelli's avatar Axel Bocciarelli

Remove `exact` on investigation routes and use child syntax

parent b58dcbd6
Pipeline #32571 passed with stage
in 3 minutes and 46 seconds
......@@ -138,7 +138,6 @@ function App() {
<Route path="/investigation">
<LoadingBoundary message="Loading investigation..." spacedOut>
<Route
exact
path="/investigation/:investigationId/datasets"
render={({ match }) =>
UI.investigationContainer.isDatasetListVisible ? (
......@@ -151,28 +150,23 @@ function App() {
}
/>
<Route
exact
path="/investigation/:investigationId/events/tagManager"
component={EventTagPage}
/>
<Route
exact
path="/investigation/:investigationId/events"
component={EventsPage}
/>
<Route path="/investigation/:investigationId/events/tagManager">
<EventTagPage />
</Route>
<Route path="/investigation/:investigationId/events">
<EventsPage />
</Route>
{isSampleTrackingEnabled && (
<Route
exact
path="/investigation/:investigationId/shipping"
component={ShippingPage}
/>
<Route path="/investigation/:investigationId/shipping">
<ShippingPage />
</Route>
)}
<Route
exact
path="/investigation/:investigationId/parcel/:parcelId"
component={ParcelPage}
/>
<Route path="/investigation/:investigationId/parcel/:parcelId">
<ParcelPage />
</Route>
</LoadingBoundary>
</Route>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment