Skip to content

Commit

Permalink
chore: Added upper case and lower case in link
Browse files Browse the repository at this point in the history
  • Loading branch information
manishtiwari25 committed Feb 20, 2025
1 parent affc2c9 commit 4d66fe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/web/app/pruefstellen/[state]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export async function generateStaticParams() {
const stateData = statesData();
return [
...stateData.map((state) => ({ state: state.code.toUpperCase() })),
...stateData.map((state) => ({ state: state.code.toLocaleLowerCase() })),
];
}

Expand Down
1 change: 1 addition & 0 deletions src/app/web/app/question-catalogue/[[...state]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export async function generateStaticParams() {
return [
{ state: [] },
...stateData.map((state) => ({ state: [state.code.toUpperCase()] })),
...stateData.map((state) => ({ state: [state.code.toLocaleLowerCase()] })),
];
}

Expand Down

0 comments on commit 4d66fe6

Please sign in to comment.