Skip to content

Commit fe89f46

Browse files
authored
Fix Pages URLs (#50)
Fixes pages urls for reasons.
2 parents 990d28f + e49d54c commit fe89f46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

missing-persons-viewer-vite/src/App/pages/MissingPersons/MissingPersons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const MissingPersons = ({
7474
<Grid
7575
as={NavLink}
7676
key={personID}
77-
to={`/missing/${caseNumber}`}
77+
to={caseNumber}
7878
css={{
7979
border: '1px solid black',
8080
padding: '1rem',

missing-persons-viewer-vite/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const router = createBrowserRouter([
1919
errorElement: <Error />,
2020
},
2121
{
22-
path: 'missing/:caseNumber',
22+
path: '/missing-persons/:caseNumber',
2323
element: <UnidentifiedPersons />,
2424
loader: unidentifiedPersonsLoader,
2525
},

0 commit comments

Comments
 (0)