Skip to content

Commit

Permalink
Fix committee header link 404 issue (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayashth1 committed Jan 23, 2025
1 parent b05acd5 commit 7f4f142
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/Chapters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const ChaptersPage = () => {
<Card
key={chapter.objectID}
title={chapter.name}
url={`chapters/${chapter.key}`}
url={`/chapters/${chapter.key}`}
summary={chapter.summary}
icons={filteredIcons}
topContributors={chapter.top_contributors}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Committees.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const CommitteesPage = () => {
<Card
key={committee.objectID}
title={committee.name}
url={`committees/${committee.key}`}
url={`/committees/${committee.key}`}
summary={committee.summary}
icons={filteredIcons}
topContributors={committee.top_contributors}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ProjectsPage = () => {
<Card
key={project.objectID}
title={project.name}
url={`projects/${project.key}`}
url={`/projects/${project.key}`}
summary={project.summary}
level={level[`${project.level as keyof typeof level}`]}
icons={filteredIcons}
Expand Down

0 comments on commit 7f4f142

Please sign in to comment.