Skip to content

Commit

Permalink
Fix redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
AdJez committed Jan 7, 2025
1 parent 3cfe307 commit 672132b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/frontend/js/components/Root/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ export const Root: React.FC = () => {
>
<BreadCrumbs />
<Switch>
<Route path="/unit/:unitId/referrals-list/referral-detail/:referralId">
<Redirect to="/unit/referral-detail/:referralId" />
</Route>

<Redirect
from="/unit/:unitId/referrals-list/referral-detail/:referralId"
to="/unit/referral-detail/:referralId"
/>
<Route path="/unit">
<UnitDashboard />
<Crumb
Expand Down

0 comments on commit 672132b

Please sign in to comment.