Skip to content

Commit

Permalink
Fix Pages URLs (CivicTechTO#50)
Browse files Browse the repository at this point in the history
Fixes pages urls for reasons.
  • Loading branch information
dyyyl authored Oct 10, 2023
2 parents 990d28f + e49d54c commit fe89f46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const MissingPersons = ({
<Grid
as={NavLink}
key={personID}
to={`/missing/${caseNumber}`}
to={caseNumber}
css={{
border: '1px solid black',
padding: '1rem',
Expand Down
2 changes: 1 addition & 1 deletion missing-persons-viewer-vite/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const router = createBrowserRouter([
errorElement: <Error />,
},
{
path: 'missing/:caseNumber',
path: '/missing-persons/:caseNumber',
element: <UnidentifiedPersons />,
loader: unidentifiedPersonsLoader,
},
Expand Down

0 comments on commit fe89f46

Please sign in to comment.