Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit fc01703

Browse files
committed
TILA-1292 fix routing
1 parent bc03abf commit fc01703

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

admin-ui/src/App.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,12 @@ function App(): JSX.Element {
8484
<Route
8585
path="/applicationRound/:applicationRoundId/resolution"
8686
component={ResolutionReport}
87+
exact
8788
/>
8889
<Route
8990
path="/applicationRound/:applicationRoundId/criteria"
9091
component={Criteria}
92+
exact
9193
/>
9294
<Route
9395
path="/applicationRound/:applicationRoundId/reservationUnit/:reservationUnitId/reservations/summary"
@@ -116,6 +118,7 @@ function App(): JSX.Element {
116118
<Route
117119
path="/applicationRound/:applicationRoundId/approval"
118120
component={Approval}
121+
exact
119122
/>
120123
<Route
121124
path="/applicationRound/:applicationRoundId"
@@ -156,8 +159,13 @@ function App(): JSX.Element {
156159
<Route
157160
path="/singleApplications/:reservationPk"
158161
component={SingleApplication}
162+
exact
163+
/>
164+
<Route
165+
path="/singleApplications"
166+
exact
167+
component={SingleApplications}
159168
/>
160-
<Route path="/singleApplications" component={SingleApplications} />
161169
</PrivateRoutes>
162170
</Switch>
163171
</PageWrapper>

0 commit comments

Comments
 (0)